Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / NonSerializableValueError

Class: NonSerializableValueError ​

Defined in: packages/core/dist/index.d.ts

A value failed the journal append JSON-serializability check. Never journaled; thrown at the call site whose value failed the check.

Extends ​

Constructors ​

Constructor ​

ts
new NonSerializableValueError(message, opts?): NonSerializableValueError;

Defined in: packages/core/dist/index.d.ts

Parameters ​

ParameterType
messagestring
opts?{ cause?: unknown; data?: Json; }
opts.cause?unknown
opts.data?Json

Returns ​

NonSerializableValueError

Overrides ​

RulvarError.constructor

Properties ​

PropertyModifierTypeDefault valueOverridesInherited fromDefined in
codereadonly"non_serializable_value""non_serializable_value"RulvarError.code-packages/core/dist/index.d.ts
data?readonlyJsonundefined-RulvarError.datapackages/core/dist/index.d.ts
retryablereadonlybooleanundefined-RulvarError.retryablepackages/core/dist/index.d.ts

Methods ​

toWire() ​

ts
toWire(): WireError;

Defined in: packages/core/dist/index.d.ts

Returns ​

WireError

Inherited from ​

RulvarError.toWire