Function poem::error::PreconditionFailed
source · pub fn PreconditionFailed(err: impl StdError + Send + Sync + 'static) -> Error
Expand description
Wraps any error into Error
and the status code is StatusCode::PRECONDITION_FAILED
.