Expand description
Error types for the ACDP library.
Error variants align with the wire vocabulary defined by
acdp-error.schema.json and RFC-ACDP-0007 §5. The
AcdpError::from_wire_error helper converts a
[crate::wire_error::WireError] (HTTP response body shape) into a typed
variant.
Enums§
- Acdp
Error - Top-level error type.
- Supersession
Reason - Sub-reason for
AcdpError::SupersededTarget. Starts from thedetails.reasonvalues enumerated byacdp-error.schema.json’ssuperseded_targetdescription (not_found,lineage_mismatch,version_mismatch,already_superseded,cross_registry_supersession_unsupported) and adds typed reasons this library recognizes beyond what that enum currently lists (LineageWalkFailed,RevocationTypeMismatch) — it is a superset, not a mirror.#[non_exhaustive]plus theOthercatch-all below is what keeps a schema addition from being a breaking change here.