Error Handling

Errors in Tasks

All uncaught exceptions in a task are treated as fatal exceptions. The task is then marked as failed. The error traceback, description, and code are returned to the user under the error attribute of the Task object.

When raising exceptions built-in Python Exceptions should be used if possible. Coded Exceptions should be used for known error situations.