API reference@evolu/commonTime › DurationLiteralError

Defined in: packages/common/src/Time.ts:730

Error returned when DurationLiteral rejects a value.

Extends

Properties

cause

readonly cause: UnionErrorValue;

Defined in: packages/common/src/Time.ts:737

The underlying union failure, retained for diagnostics.

With { errors: "all" }, includes every failed alternative.


type

readonly type: "DurationLiteral";

Defined in: packages/common/src/Type.ts:893

Inherited from

TypeError.type


value

readonly value: unknown;

Defined in: packages/common/src/Time.ts:731