API reference@evolu/commonType › InstanceOfError

Defined in: packages/common/src/Type.ts:3336

Error returned when a value is not an instance of the expected constructor.

Extends

Properties

constructorName

readonly constructorName: string;

Defined in: packages/common/src/Type.ts:3337


type

readonly type: "InstanceOf";

Defined in: packages/common/src/Type.ts:870

Inherited from

TypeValueError.type


value

readonly value: unknown;

Defined in: packages/common/src/Type.ts:892

Inherited from

TypeValueError.value