Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

Index

Constructors

constructor

  • new ServerError(errorCode?: string, errorMessage?: string, subError?: string): ServerError

Properties

correlationId

correlationId: string

CorrelationId associated with the error

errorCode

errorCode: string

Short string denoting error

errorMessage

errorMessage: string

Detailed description of error

subError

subError: string

Describes the subclass of an error

Methods

setCorrelationId

  • setCorrelationId(correlationId: string): void

Static createUnexpectedError

  • createUnexpectedError(errDesc: string): AuthError

Generated using TypeDoc