#[non_exhaustive]pub enum Code {
Show 34 variants
E0001,
E0002,
E0003,
E0004,
E0005,
E0006,
E0007,
E0010,
E0011,
E0012,
E0013,
E0020,
E0021,
E0022,
E0023,
E0024,
E0025,
E0030,
E0031,
E0032,
E0040,
E0041,
E0042,
E0043,
E0050,
E0060,
E0061,
E0062,
E0063,
E0064,
E0065,
E0070,
E0071,
E0080,
}Expand description
A diagnostic code from Appendix E.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
E0001
Malformed timestamp.
E0002
Unknown profile tag.
E0003
Mixed text forms in one string (Rule D).
E0004
Group value out of range (> 3124).
E0005
Invalid base-5 digit.
E0006
Non-contiguous tier sequence.
E0007
Calendar rendering without a kind/id qualifier (§6.6).
E0010
Locale table load failure.
E0011
Duplicate name in the active locale table (Rule N).
E0012
Unknown key in an HJSON data file.
E0013
Profile lacks a datum_provenance record (Rule Q.4).
E0020
Result precedes the datum (Rule Z).
E0021
Result exceeds DOMAIN (Rules O, W).
E0022
Window inversion, lo > hi (Rule U).
E0023
Comparison indeterminate at the stated precision (Rule T).
E0024
Lossy rendering requested without a rounding mode (Rule R).
E0025
BIG_BANG_CLAIM or its half-width used as a computational operand
(Rule Q.3). Reaching this at runtime is an internal invariant violation;
the type system is supposed to make it unreachable, and §21.3-3 requires
a compile-fail test proving so.
E0030
Binary form is not 64 bytes (Rule B).
E0031
Instant outside UCID range (Rule I).
E0032
Invalid Crockford base-32.
E0040
Civil date outside the renderable range (§14.3). Never a panic.
E0041
Invalid civil date for the stated calendar.
E0042
second = 60 outside a leap-second instant.
E0043
Foreign-unit input finer than the bridge constant permits (Rules A, R, Y).
E0050
Profile mismatch (Rule P).
E0060
Body parameter missing required provenance or as-measured value (Rules C, Y).
E0061
Leap-rule derivation cannot meet the requested drift bound.
E0062
Calendar has no anchor; local fields cannot be produced (Rule J.3).
E0063
Anchor phase definition not evaluable for this body’s parameters (Rule J.4).
E0064
Grouping cycle requested but none derivable from any satellite (§9.6).
E0065
Legacy calendar supplied where a derived calendar is required (Rule K.6).
E0070
Division by zero, or by an interval containing zero (Appendix H.3); also a cosmology inversion that failed to bracket.
E0071
Requested enclosure width unreachable at the permitted depth (Rule X).
E0080
Tier index outside the profile’s grid.