CommunicatorError

class wv.CommunicatorError()

Base error class for all Communicator errors. Extends base Error class as documented here.

Constructors

wv.CommunicatorError.constructor()
CommunicatorError(message: string): CommunicatorError

Creates a new CommunicatorError

Parameters

message: string

Returns: CommunicatorError

Properties

wv.CommunicatorError.stackTraceLimit

static inherited

stackTraceLimit: number
wv.CommunicatorError.prepareStackTrace

static optional inherited

prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

wv.CommunicatorError.message

inherited

message: string
wv.CommunicatorError.name

inherited

name: string
wv.CommunicatorError.stack

optional inherited

stack: string

Methods

static wv.CommunicatorError.captureStackTrace()

static inherited

captureStackTrace(targetObject: object, constructorOpt: Function): void

Create .stack property on a target object

Parameters

targetObject: object

constructorOpt: Function

Returns: void