Expand description
Leaf-only ErrorCode taxonomy and pure projections to ErrorKind
and ErrorStatus.
ErrorCodecontains only leaf codes; it has no coarse family variants.ErrorKindis the coarse category, derived fromcode.ErrorStatusis the retry semantic, derived fromcode.- Neither
ErrorKindnorErrorStatusis stored onError.
Enums§
- Error
Code - Stable, machine-readable failure identity.
- Error
Kind - Coarse failure category, derived from
ErrorCodeviakind_for_code. - Error
Status - Retry semantic, derived from
ErrorCodeviastatus_for_code.
Functions§
- kind_
for_ code - Total, pure projection from
ErrorCodetoErrorKind. - status_
for_ code - Total, pure projection from
ErrorCodetoErrorStatus.