Exception that is thrown when an error on the server or during the communication with the server happens.

Hierarchy

  • Error
    • ServerError

Constructors

Properties

Constructors

  • Constructs a new ServerError object.

    Parameters

    • Optionalmessage: string

      the error message

    • type: ErrorSeverity = "error"

      the severity of the error (information, warning, error, or fatal error).

    • Optionaloptions: Readonly<ErrorOptions>

      options for the error.

    Returns ServerError

Properties

Specifies the severity of the error: information, warning, error, or fatal error.