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. - Parameters:
- cause – The cause of the actor error. - RayTaskErrortype means the actor has died because of an exception within- __init__.- ActorDiedErrorContextmeans the actor has died because of an unexpected system error. None means the cause isn’t known. Theoretically, this shouldn’t happen, but it’s there as a safety check.
 - DeveloperAPI: This API may change across minor Ray releases.