Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made all errors internal #678

Merged
merged 4 commits into from
Jan 18, 2024
Merged

Made all errors internal #678

merged 4 commits into from
Jan 18, 2024

Conversation

zoeyTM
Copy link
Contributor

@zoeyTM zoeyTM commented Jan 16, 2024

resolves #581

@kanej kanej force-pushed the chore/move-errors-to-internal branch from 917b8fa to 483eb9b Compare January 16, 2024 10:58
Copy link
Member

@kanej kanej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the API tags (i.e. @Alpha & @beta) for all the functions/constants in internal. This threw up a few failures:

image

For those on the list that are really types lets add a ./src/types/error.ts with those. For the others, they should be moved back out of internal into the top level, with references to the internal elements.

The goal is to minimize what is publicly exposed and to be explicit between what is public/internal.

Copy link
Member

@kanej kanej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Lets get this squash merged!

@zoeyTM zoeyTM merged commit a145e77 into development Jan 18, 2024
6 checks passed
@zoeyTM zoeyTM deleted the chore/move-errors-to-internal branch January 18, 2024 14:56
kanej added a commit that referenced this pull request Jan 25, 2024
* moved errors to internal

* chore: remove alpha/beta tags from internal

* fix api extractor tags

* refactor: remove unneeded intermediary function

---------

Co-authored-by: John Kane <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Consider moving core/src/errors.ts and core/src/error-list.ts to internal.
2 participants