ray.exceptions.RayTaskError#

exception ray.exceptions.RayTaskError(function_name, traceback_str, cause, proctitle=None, pid=None, ip=None, actor_repr=None, actor_id=None)[source]#

Indicates that a task threw an exception during execution.

If a task throws an exception during execution, a RayTaskError is stored in the object store for each of the task’s outputs. When an object is retrieved from the object store, the Python method that retrieved it checks to see if the object is a RayTaskError and if it is then an exception is thrown propagating the error message.