generated from daniil-berg/boilerplate-py
27 lines
315 B
Python
27 lines
315 B
Python
|
class PoolException(Exception):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class PoolIsClosed(PoolException):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class TaskEnded(PoolException):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class AlreadyCancelled(TaskEnded):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class AlreadyFinished(TaskEnded):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class InvalidTaskID(PoolException):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class PoolStillOpen(PoolException):
|
||
|
pass
|