API reference@evolu/commonType › TypeValueError

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

A structured error that directly describes a rejected value.

Structural errors such as Array and Union errors extend TypeError instead because they locate nested errors rather than own one value.

Extends

Extended by

Properties

type

readonly type: Name;

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

Inherited from

TypeError.type


value

readonly value: unknown;

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