Function actix_web::error::ErrorBadRequest [] [src]

pub fn ErrorBadRequest<T>(err: T) -> InternalError<T>

Helper function that creates wrapper of any error and generate BAD REQUEST response.