mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
There are a few places in lib where `new Error()` is called and then additional properties are attached in various ways. This creates a utility function to generate the errors. PR-URL: https://github.com/nodejs/node/pull/41879 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
37 KiB
37 KiB