Error Handling
JavaScript supports throwing any object as an error with the throw keyword.
Error Class
Typically errors are instances or subclasses of the built-in Error class.
Contents
JavaScript supports throwing any object as an error with the throw keyword.
Typically errors are instances or subclasses of the built-in Error class.