Function poem::error::ExpectationFailed[][src]

pub fn ExpectationFailed(err: impl Display) -> Error
Expand description

Wraps any error into Error and the status code is StatusCode::EXPECTATION_FAILED.