Optional ReadonlyheaderUnsupportedHeaderValue: the offending CBOR header byte.
Optional ReadonlycountUnusedData: number of trailing bytes left unconsumed.
Optional ReadonlyexpectedWrongTag: the tag that was expected.
Optional ReadonlyactualWrongTag: the tag actually found.
Optional ReadonlycauseInvalidString/InvalidUtf8/InvalidDate: the underlying reason.
Optional structured data attached to a CborError, keyed by the codes that carry it. Everything is optional so callers can narrow on
codeand read only the fields relevant to that code.Deprecated
Use CborErrorDetailsByCode (per-code payloads) with CborErrorTyped - narrowing on
error.codethen makes the matching detail fields non-optional. This undiscriminated bag remains for compatibility and is removed at 2.0.