Class: E_PAYLOAD_UNSERIALIZABLE
Thrown when the value cannot be serialized.
Extends
SerializationError
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
cause? | public | unknown | - | SerializationError.cause |
stack? | public | string | - | SerializationError.stack |
prepareStackTrace? | static | (err: Error, stackTraces: CallSite[]) => any | Optional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-traces | SerializationError.prepareStackTrace |
stackTraceLimit | static | number | - | SerializationError.stackTraceLimit |
Methods
captureStackTrace()
ts
static captureStackTrace(targetObject: object, constructorOpt?: Function): void;Create .stack property on a target object
Parameters
| Parameter | Type |
|---|---|
targetObject | object |
constructorOpt? | Function |
Returns
void
Inherited from
ts
SerializationError.captureStackTrace;