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

Use a custom error objects instead of a generic Error #49

Open
liangyuanruo opened this issue Jan 27, 2021 · 1 comment
Open

Use a custom error objects instead of a generic Error #49

liangyuanruo opened this issue Jan 27, 2021 · 1 comment
Labels

Comments

@liangyuanruo
Copy link
Contributor

It is more informative for users, as well as best practice, if the SDK creates and inherits from custom error classes instead of always throwing the top level inbuilt Error object.

@liangyuanruo
Copy link
Contributor Author

Reopening as there are still new Error statements in crypto.ts

@liangyuanruo liangyuanruo reopened this Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant