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

[SDK-2818] Export error classes #508

Merged
merged 1 commit into from
Sep 30, 2021
Merged

[SDK-2818] Export error classes #508

merged 1 commit into from
Sep 30, 2021

Conversation

adamjmcgrath
Copy link
Contributor

Description

It's useful to be able to import the error classes, especially for user's of the recently released TypeScript 4.4 which introduces the useUnknownInCatchVariables flag which changes the default type of catch clause variables from any to unknown.

References

fixes #479

@adamjmcgrath adamjmcgrath requested a review from a team as a code owner September 30, 2021 14:57
@vercel
Copy link

vercel bot commented Sep 30, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/auth0/nextjs-auth0/4j9izP4TyDGPDXKbL1WMuxTzKjrA
✅ Preview: Canceled

@adamjmcgrath adamjmcgrath added the review:small Small review label Sep 30, 2021
@adamjmcgrath adamjmcgrath merged commit d298b02 into main Sep 30, 2021
@adamjmcgrath adamjmcgrath deleted the export-errors branch September 30, 2021 16:07
@adamjmcgrath adamjmcgrath mentioned this pull request Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review:small Small review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using HandlerError/AccessTokenError for better error handling with TypeScript
2 participants