Skip to content

Errors: EmitterTimeoutError ​

An error thrown when a timeout occurs while waiting for an event to be emitted.

Extends ​

  • Error

Constructors ​

new EmitterTimeoutError() ​

ts
new EmitterTimeoutError(event, timeout): EmitterTimeoutError

Parameters ​

ParameterType
eventstring
timeoutnumber

Returns ​

EmitterTimeoutError

Overrides ​

ts
Error.constructor

Methods ​

captureStackTrace() ​

ts
static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters ​

ParameterType
targetObjectobject
constructorOpt?Function

Returns ​

void

Inherited from ​

ts
Error.captureStackTrace

Properties ​

PropertyModifierTypeDescriptionInherited from
messagepublicstring-Error.message
namepublicstring-Error.name
stack?publicstring-Error.stack
prepareStackTrace?static(err: Error, stackTraces: CallSite[]) => anyOptional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-tracesError.prepareStackTrace
stackTraceLimitstaticnumber-Error.stackTraceLimit