Options
All
  • Public
  • Public/Protected
  • All
Menu

Indicates an error directly caused by some bad server message being received, e.g. a msg_channel_suspended when trying to join a channel.

Hierarchy

Index

Constructors

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

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