baml.time.AmbiguousTimeError

Thrown when a civil time cannot be unambiguously located in a timezone (it falls in a DST gap or overlap) and `disambiguation` is `"reject"`.

Reference version

Signature

class baml.time.AmbiguousTimeError

Thrown when a civil time cannot be unambiguously located in a timezone (it falls in a DST gap or overlap) and disambiguation is "reject".

Any other Disambiguation resolves such a reading instead of throwing.

Source:<builtin>/baml/ns_time/timezone.bamlbytes 1547–1700

Fields

message

string

Human-readable description naming the timezone involved. Not intended to be matched on.

Implementations

baml.Concrete for T

Source:<builtin>/baml/core.bamlbytes 763–795