Options
All
  • Public
  • Public/Protected
  • All
Menu

Marks an error that mandates a disconnect of the whole client and all its connections, e.g. a login error.

Hierarchy

Index

Constructors

  • new ClientError(message?: string, cause?: Error): ClientError

Properties

cause?: Error
message: string
name: string
stack: string
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

Type declaration

stackTraceLimit: number

Methods

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc