Represents a default error response.

Hierarchy

  • ErrorResponse

Constructors

Properties

Constructors

  • Creates an instance of ErrorResponse.

    Parameters

    • message: string

      The error message.

    • code: number

      The error code.

    Returns ErrorResponse

Properties

code: number

The error code.

message: string

The error message.

Generated using TypeDoc