ray.exceptions.ActorDiedError#

exception ray.exceptions.ActorDiedError(cause: RayTaskError | ray.core.generated.common_pb2.ActorDiedErrorContext | None = None)[source]#

Indicates that the actor died unexpectedly before finishing a task.

This exception could happen either because the actor process dies while executing a task, or because a task is submitted to a dead actor.

DeveloperAPI: This API may change across minor Ray releases.