api-elements.js
api-elements.js copied to clipboard
Make errors emitted from core programatically inspectable
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...).