Skip to content

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 {attr} attribute of the {class} object.

When raising exceptions built-in Python Exceptions should be used if possible. {doc}Coded Exceptions </contributing/platform-api/exceptions> should be used for known error situations.