2022-02-05 18:02:32 +01:00
|
|
|
class PoolException(Exception):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2022-02-08 23:09:33 +01:00
|
|
|
class PoolIsLocked(PoolException):
|
2022-02-05 18:02:32 +01:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class TaskEnded(PoolException):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class AlreadyCancelled(TaskEnded):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2022-02-06 15:00:47 +01:00
|
|
|
class AlreadyEnded(TaskEnded):
|
2022-02-05 18:02:32 +01:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class InvalidTaskID(PoolException):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2022-02-08 23:09:33 +01:00
|
|
|
class PoolStillUnlocked(PoolException):
|
2022-02-05 18:02:32 +01:00
|
|
|
pass
|
2022-02-07 17:31:43 +01:00
|
|
|
|
|
|
|
|
|
|
|
class NotCoroutine(PoolException):
|
|
|
|
pass
|