Interface ErrorConstructor

    interface ErrorConstructor {
        new ErrorConstructornew (message?: string): Error;
        new ErrorConstructornew (message?: string, options?: ErrorOptions): Error;
        prototype: Error;
        (message?: string): Error;
        (message?: string, options?: ErrorOptions): Error;
    }
    Hierarchy
    • Parameters

      • Optionalmessage: string

      Returns Error

    • Parameters

      Returns Error

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalmessage: string

      Returns Error

    • Parameters

      Returns Error

    Properties

    prototype: Error