Skip to main content

Module errors

Module errors 

Source
Expand description

CleanLibraryError hierarchy per Client spec rev1 §2.3 + Rev 2 amendment §2. Mirrors App Rev 4 §9.2 reason-code enum surfaced via X-CleanLibrary-Reason response header.

Enums§

CleanLibraryError
Top-level error type for cleanlib-client operations. Mirrors Rev 1 §2.3 mapping table.
TransportError

Functions§

from_http
Map HTTP status + headers + body into a CleanLibraryError variant. Reads X-CleanLibrary-Reason header per App Rev 4 §9.2 reason codes.