API reference › @evolu/common › Type › InstanceOfError
Defined in: packages/common/src/Type.ts:3576
Error returned when a value is not an instance of the expected constructor.
Extends
TypeValueError<"InstanceOf">
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
value
readonly value: unknown;
Defined in: packages/common/src/Type.ts:911