Skip to content

Class: E_PAYLOAD_UNSERIALIZABLE

Thrown when the value cannot be serialized.

Extends

  • SerializationError

Properties

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

Methods

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
SerializationError.captureStackTrace;