API reference@evolu/commonBytes › ByteSizeLiteralError

Defined in: packages/common/src/Bytes.ts:1880

Error returned when ByteSizeLiteral rejects a value.

Extends

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

TypeError.type


value

readonly value: unknown;

Defined in: packages/common/src/Bytes.ts:1881