asyncio_taskpool.exceptions module

Custom exception classes used in various modules.

exception asyncio_taskpool.exceptions.AlreadyCancelled(task_name: str)

Bases: TaskEnded

exception asyncio_taskpool.exceptions.AlreadyEnded(task_name: str)

Bases: TaskEnded

exception asyncio_taskpool.exceptions.CommandError

Bases: ServerException

exception asyncio_taskpool.exceptions.HelpRequested

Bases: ServerException

exception asyncio_taskpool.exceptions.InvalidGroupName

Bases: PoolException

exception asyncio_taskpool.exceptions.InvalidTaskID

Bases: PoolException

exception asyncio_taskpool.exceptions.NotCoroutine(coroutine: Awaitable[object])

Bases: PoolException

exception asyncio_taskpool.exceptions.NotCoroutineFunction(function: Callable[[...], Awaitable[object]])

Bases: NotCoroutine

exception asyncio_taskpool.exceptions.ParserError

Bases: ServerException

exception asyncio_taskpool.exceptions.ParserNotInitialized

Bases: ParserError

exception asyncio_taskpool.exceptions.PoolException

Bases: Exception

exception asyncio_taskpool.exceptions.PoolIsClosed

Bases: PoolException

exception asyncio_taskpool.exceptions.PoolIsLocked

Bases: PoolException

exception asyncio_taskpool.exceptions.ServerException

Bases: Exception

exception asyncio_taskpool.exceptions.ServerNotInitialized

Bases: ServerException

exception asyncio_taskpool.exceptions.SubParsersNotInitialized

Bases: ParserError

exception asyncio_taskpool.exceptions.TaskEnded

Bases: PoolException

exception asyncio_taskpool.exceptions.TaskGroupAlreadyExists(name: str)

Bases: InvalidGroupName

exception asyncio_taskpool.exceptions.TaskGroupNotFound(name: str)

Bases: InvalidGroupName

exception asyncio_taskpool.exceptions.TaskNotFound(task_id: int, pool: BaseTaskPool)

Bases: InvalidTaskID