API reference / @evolu/common / Type / UnionError
Interface: UnionError<E>
Defined in: packages/common/src/Type.ts:3060
Extends
TypeError<"Union">
Type Parameters
| Type Parameter | Default type |
|---|---|
E extends TypeError | TypeError |
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
errors | readonly | E[] | - | - | packages/common/src/Type.ts:3062 |
type | readonly | "Union" | - | TypeError.type | packages/common/src/Type.ts:392 |
value | readonly | unknown | The value that was received and caused the error. Provides additional context for debugging and validation feedback. | TypeError.value | packages/common/src/Type.ts:398 |