pub fn business_status(
mapping: Option<&HttpErrorMapping>,
code: &str,
kind: &str,
) -> u16Expand description
Resolve the reply status for a business error.
Resolution order: explicit code map, explicit kind map, built-in default
kind map, DEFAULT_BUSINESS_STATUS. Out-of-domain explicit entries are
treated as absent. None applies the built-in default map and the 500
closure, so a route without a mapping still never yields 2xx.