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): ServerError

Properties

errorCode

errorCode: string

errorMessage

errorMessage: string

message

message: string

name

name: string

Optional stack

stack: string

Methods

Static createServerUnavailableError

  • Returns ServerError

Static createUnexpectedError

  • createUnexpectedError(errDesc: string): AuthError

Static createUnknownServerError

  • createUnknownServerError(errorDesc: string): ServerError
  • Parameters

    • errorDesc: string

    Returns ServerError

Generated using TypeDoc