Errors¶
Note
The documentation in this section is aimed at people wishing to contribute to
rdial
, and can be skipped if you are simply using the tool from the
command line.
-
exception
rdial.events.
TaskNotExistError
[source]¶ Exception for attempting to operate on a non-existing task.
-
exception
rdial.events.
TaskNotRunningError
[source]¶ Exception for calling mutators when a task is not running.
-
exception
rdial.events.
TaskRunningError
[source]¶ Exception for starting task when a task is already running.
Examples¶
>>> events_stopped.stop()
Traceback (most recent call last):
…
TaskNotRunningError: No task running!
>>> events_running.start('rdial', new=True)
Traceback (most recent call last):
…
TaskRunningError: Running task test!