Skip to main content

config_bail

Macro config_bail 

Source
macro_rules! config_bail {
    ($code:expr, $($arg:tt)*) => { ... };
}
Expand description

return Err-style bail with a stable RIVET_CONFIG_* code (exit class Generic). Drop-in for anyhow::bail! at a config-validation site — the message text is unchanged; only a typed code rides alongside it.