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