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
    1. Error Class