Function actix_web::error::ErrorMethodNotAllowed
[−]
[src]
pub fn ErrorMethodNotAllowed<T>(err: T) -> InternalError<T>
Helper function that creates wrapper of any error and generate METHOD NOT ALLOWED response.