Function ntex::web::error::ErrorUnauthorized
source ยท pub fn ErrorUnauthorized<T, E>(err: T) -> InternalError<T, E>
Expand description
Helper function that creates wrapper of any error and generate UNAUTHORIZED response.