pub fn error_code(err: &Error) -> Option<&'static str>Expand description
The stable RIVET_* error code for a failure, if one was tagged via
CodedError anywhere in the anyhow context chain. main surfaces it as the
JSON code field and a [CODE] prefix on the text error line.