pub fn MisdirectedRequest(err: impl StdError + Send + Sync + 'static) -> Error
Wraps any error into Error and the status code is StatusCode::MISDIRECTED_REQUEST.
Error
StatusCode::MISDIRECTED_REQUEST