API reference › @evolu/common › Time › DurationLiteralError

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

Error returned when DurationLiteral rejects a value.

Extends

Properties

cause

readonly cause: UnionErrorValue;

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

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

Inherited from

TypeError.type


value

readonly value: unknown;

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