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

Make errors emitted from core programatically inspectable #553

Open
kylef opened this issue Sep 2, 2020 · 0 comments
Open

Make errors emitted from core programatically inspectable #553

kylef opened this issue Sep 2, 2020 · 0 comments
Labels
core enhancement New feature or request

Comments

@kylef
Copy link
Member

kylef commented Sep 2, 2020

It would be good to add a code (https://nodejs.org/api/errors.html#errors_error_code) so that consumers can introspect for particular error types without checking the fragile message (which some do...).

@kylef kylef added enhancement New feature or request core labels Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant