API reference@evolu/commonType › InstanceOfError

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

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:3577


type

readonly type: "InstanceOf";

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

Inherited from

TypeValueError.type


value

readonly value: unknown;

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

Inherited from

TypeValueError.value