Closed bcoe closed 2 years ago
There is a potential difference between errors made by the author, and errors made by the end user that the author wants to catch.
I think it is a good idea to use the preexisting error for this case which is an author error.
Switch to using an error that already exists, to simplify merging into Node.js.