Underrun
Underrun: unknown
UnsupportedHeaderValue: { headerValue: number }
NonCanonicalNumeric
NonCanonicalNumeric: unknown
InvalidSimpleValue
InvalidSimpleValue: unknown
InvalidString
InvalidString: { cause: string }
NonCanonicalString
NonCanonicalString: unknown
UnusedData
UnusedData: { count: number }
MisorderedMapKey
MisorderedMapKey: unknown
DuplicateMapKey
DuplicateMapKey: unknown
MissingMapKey
MissingMapKey: unknown
OutOfRange
OutOfRange: unknown
WrongType
WrongType: unknown
WrongTag
WrongTag: { expectedTag: Tag; actualTag: Tag }
InvalidUtf8
InvalidUtf8: { cause: string }
InvalidDate
InvalidDate: { cause: string }
The structured detail payload each CborErrorCode carries. Codes mapped to
unknownattach no structured details.Prefer consuming this through CborErrorTyped: narrowing on
error.codemakes the matching payload fields non-optional.