api-elements.js icon indicating copy to clipboard operation
api-elements.js copied to clipboard

Make errors emitted from core programatically inspectable

Open kylef opened this issue 5 years ago • 0 comments
trafficstars

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 avatar Sep 02 '20 10:09 kylef