Skip to content

Errors: PayloadValueError ​

A payload value that could not be written into the payload or read back out. Reported rather than thrown: the value is left out and its getter runs again on the client.

Extends ​

  • Error

Constructors ​

Constructor ​

ts
new PayloadValueError(
   action, 
   kind, 
   name, 
   cause
): PayloadValueError;

Parameters ​

ParameterType
action"stringify" | "parse"
kindDataKind
namestring
causeunknown

Returns ​

PayloadValueError

Overrides ​

Error.constructor

Methods ​

isError() ​

ts
static isError(error): error is Error;

Indicates whether the argument provided is a built-in Error instance or not.

Parameters ​

ParameterType
errorunknown

Returns ​

error is Error

Inherited from ​

Error.isError

Properties ​

PropertyTypeInherited from
cause?unknownError.cause
messagestringError.message
namestringError.name
stack?stringError.stack