Source code for rate_control._errors

__all__ = [
    'Empty',
    'RateLimit',
    'ReachedMaxPending',
]


[docs]class Empty(Exception): """Collection is empty."""
[docs]class RateLimit(Exception): """Cannot process the incoming request."""
[docs]class ReachedMaxPending(Exception): """Reached the maximum allowed pending requests."""