Function actix_web::error::ErrorPreconditionRequired
source · pub fn ErrorPreconditionRequired<T>(err: T) -> Errorwhere
T: Send + Sync + Debug + Display + 'static,Expand description
Helper function that creates wrapper of any error and generate PRECONDITION REQUIRED response.