Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CommandExecutionError

Hierarchy

  • ServerError
    • CommandExecutionError

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

code

code: number

Optional data

data: any

message

message: string

name

name: string

Optional stack

stack: string

Accessors

Static ERROR_CODE

  • get ERROR_CODE(): number

Methods

serialize

  • serialize(): any
  • Prepares error for serialization

    Returns any

Static isServerErrorCode

  • isServerErrorCode(code: number): boolean
  • Checks if the error code is within the "ServerError" range as defined in the specification.

    Parameters

    • code: number

      Error code to check.

    Returns boolean

Generated using TypeDoc