API reference › @evolu/common › Bytes › ByteSizeLiteralError
Defined in: packages/common/src/Bytes.ts:1880
Error returned when ByteSizeLiteral rejects a value.
Extends
TypeError<"ByteSizeLiteral">
Properties
cause
readonly cause: UnionErrorValue;
Defined in: packages/common/src/Bytes.ts:1887
The underlying union failure, retained for diagnostics.
With { errors: "all" }, includes every failed alternative.
type
readonly type: "ByteSizeLiteral";
Defined in: packages/common/src/Type.ts:893
Inherited from
value
readonly value: unknown;
Defined in: packages/common/src/Bytes.ts:1881