API reference › @evolu/common › Bytes › ByteSizeLiteralError

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

Error returned when ByteSizeLiteral rejects a value.

Extends

Properties

cause

readonly cause: UnionErrorValue;

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

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:1005

Inherited from

TypeError.type


value

readonly value: unknown;

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