You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Probably would be nice to bring some of the history behind #11220 and the reasoning behind the creation of internal/error to contribute to this discussion
There has been no activity on this feature request for 5 months and it is unlikely to be implemented. It will be closed 6 months after the last non-automated comment.
There has been no activity on this feature request and it is being closed. If you feel closing this issue is not the right thing to do, please leave a comment.
Is your feature request related to a problem? Please describe.
#14570 (comment)
Describe the solution you'd like
Expose the
errors
module so it can be imported e.g.const errors = require('errors');
That way we could easily throw Node.js errors without duplicating them like this.
Describe alternatives you've considered
No, duplicates increase the package size.
The text was updated successfully, but these errors were encountered: