Skip to content

Class: KyooTerminatedWorkerError

The error thrown when the data from the broker cannot be coercced into an EnqueueableKyooJob

Extends

  • KyooError

Constructors

Constructor

ts
new KyooTerminatedWorkerError(): KyooTerminatedWorkerError;

Returns

KyooTerminatedWorkerError

Overrides

ts
KyooError.constructor;

Properties

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

Accessors

[toStringTag]

Get Signature

ts
get toStringTag: string;
Returns

string

Inherited from

ts
KyooError.[toStringTag]

message

Get Signature

ts
get message(): string;
Returns

string

Inherited from

ts
KyooError.message;

name

Get Signature

ts
get name(): string;
Returns

string

Inherited from

ts
KyooError.name;

Methods

[toPrimitive]()

ts
toPrimitive: string | true;

Parameters

ParameterType
hint"string" | "number" | "default"

Returns

string | true

Inherited from

ts
KyooError.[toPrimitive]

toString()

ts
toString(): string;

Returns a string representation of an object.

Returns

string

Inherited from

ts
KyooError.toString;

[hasInstance]()

ts
static hasInstance: boolean;

Parameters

ParameterType
instanceunknown

Returns

boolean

Inherited from

ts
KyooError.[hasInstance]

captureStackTrace()

ts
static captureStackTrace(targetObject: object, constructorOpt?: Function): void;

Create .stack property on a target object

Parameters

ParameterType
targetObjectobject
constructorOpt?Function

Returns

void

Inherited from

ts
KyooError.captureStackTrace;