API reference › @evolu/common › Type › InstanceOfError
Defined in: packages/common/src/Type.ts:3336
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:3337
type
readonly type: "InstanceOf";
Defined in: packages/common/src/Type.ts:870
Inherited from
value
readonly value: unknown;
Defined in: packages/common/src/Type.ts:892