Expand description
The generic error body every 4xx/5xx other than 409 Conflict carries.
409 has its own shape (crate::MissingBlobsError) because a client
acts on it rather than reporting it.
Structs§
- Error
Response - A failed request: something for a human (
message) and something for the client to branch on (code). Non-exhaustive so a field can be added without a breaking release: build one withErrorResponse::new.
Enums§
- Error
Code - Machine-readable failure classification. Non-exhaustive: a newer server
may add codes (an unknown one decodes as
ErrorCode::Unknown), so amatchneeds a wildcard arm.