pub(crate) fn refusal( code: &'static str, text: impl Into<String>, remedy: Option<String>, ) -> Refusal