API reference › @evolu/common › Type › TupleInvalidLengthError
Defined in: packages/common/src/Type.ts:15104
An error returned when a tuple input has the wrong length.
Extends
TypeError<"Tuple">
Properties
reason
readonly reason: {
actual: number;
expected: number;
kind: "InvalidLength";
};
Defined in: packages/common/src/Type.ts:15105
| Name | Type | Defined in |
|---|---|---|
actual | number | packages/common/src/Type.ts:15108 |
expected | number | packages/common/src/Type.ts:15107 |
kind | "InvalidLength" | packages/common/src/Type.ts:15106 |
type
readonly type: "Tuple";
Defined in: packages/common/src/Type.ts:1015