pub fn request_error(
code: &str,
message: impl Into<String>,
status: StatusCode,
extra: &[(&str, Value)],
) -> ServerErrorExpand description
Build a pre-execution ServerError carrying code and status, plus
any extra extension values.