Skip to main content

Crate bougie_errors

Crate bougie_errors 

Source
Expand description

Domain error types and the §8 exit-code map.

Variants carry enough context for the user to diagnose without reading source: which URL was being fetched, which sha was expected vs received, which trust root was loaded. The runtime wires color_eyre so the chain renders top-to-bottom.

Enums§

BougieError

Functions§

error_chain
Format a reqwest (or any std::error::Error) chain into a single string that includes the root cause, e.g.: “error sending request for url (…): dns error: failed to lookup address …”
exit_code_for