Function ntex::web::error::ErrorMisdirectedRequest
source · pub fn ErrorMisdirectedRequest<T, E>(err: T) -> InternalError<T, E>
Expand description
Helper function that creates wrapper of any error and generate MISDIRECTED REQUEST response.