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