Search completed in 0.95 seconds.
5 results for "customError":
Error - JavaScript
to define your own error types deriving from error to be able to throw new myerror() and use instanceof myerror to check the kind of error in the exception handler.
... way to extend error in javascript?" on stackoverflow for an in-depth discussion.
...on.
...And 8 more matches
PromiseWorker.jsm
iteration is deprecated).
...nd throw your own custom error objects as needed.
...rror is caught by abstractworker, tomsg method will be called to convert it into message.
...And 6 more matches