mirror of https://github.com/celery/kombu.git
exceptions.LimitExceeded
This commit is contained in:
parent
ce1d10ee5c
commit
945470e0b9
|
@ -10,13 +10,20 @@ class EnsureExhausted(Exception):
|
||||||
"""ensure() limit exceeded."""
|
"""ensure() limit exceeded."""
|
||||||
|
|
||||||
|
|
||||||
class PoolExhausted(Exception):
|
|
||||||
"""All connections acquired."""
|
|
||||||
|
|
||||||
|
|
||||||
class PoolLimitExceeded(Exception):
|
|
||||||
"""Can't add more connections to pool."""
|
|
||||||
|
|
||||||
class TimeoutError(Exception):
|
class TimeoutError(Exception):
|
||||||
"""Operation timed out."""
|
"""Operation timed out."""
|
||||||
|
|
||||||
|
|
||||||
|
class LimitExceeded(Exception):
|
||||||
|
"""Limit exceeded."""
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
class ConnectionLimitExceeded(LimitExceeded):
|
||||||
|
"""Maximum number of simultaneous connections exceeded."""
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
class ChannelLimitExceeded(LimitExceeded):
|
||||||
|
"""Maximum number of simultaenous channels exceeded."""
|
||||||
|
pass
|
||||||
|
|
Loading…
Reference in New Issue