Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
core enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant