Исключения¶
Task exceptions.
TaskCancelError
¶
Bases: RuntimeError
The exception thrown when a task is canceled.
Can be intercepted in Worker to handle task cancellations.
Source code in src/qtasks/exc/task.py
4 5 6 7 8 9 10 11 12 13 | |
__init__(*args)
¶
Initializing an exception.
Source code in src/qtasks/exc/task.py
11 12 13 | |
Plugins exceptions.
TaskPluginTriggerError
¶
Bases: Exception
The exception thrown when the plugin trigger fires.
Can be intercepted in Worker to process triggers.
Source code in src/qtasks/exc/plugins.py
4 5 6 7 8 9 10 11 12 13 14 | |
__init__(*args, **kwargs)
¶
Initializing an exception.
Source code in src/qtasks/exc/plugins.py
11 12 13 14 | |