Error thrown when there is an error with the server code, for example, unavailability.

Hierarchy

Constructors

  • Parameters

    • Optional errorCode: string
    • Optional errorMessage: string
    • Optional subError: string
    • Optional errorNo: string
    • Optional status: number

    Returns ServerError

Properties

correlationId: string

CorrelationId associated with the error

errorCode: string

Short string denoting error

errorMessage: string

Detailed description of error

errorNo?: string

Server error number;

status?: number

Http status number;

subError: string

Describes the subclass of an error

Methods

  • Parameters

    • correlationId: string

    Returns void

Generated using TypeDoc