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