Skip to main content

ErrorTooManyRequests

Function ErrorTooManyRequests 

Source
pub fn ErrorTooManyRequests<T>(err: T) -> InternalError<T>
where T: Debug + Display + 'static,
Expand description

Helper function that creates wrapper of any error and generate TOO MANY REQUESTS response.