ray.exceptions.RayActorError#

exception ray.exceptions.RayActorError(actor_id: str = None, error_msg: str = 'The actor experienced an error before finishing this task.', actor_init_failed: bool = False, preempted: bool = False)[source]#

Indicates that the actor has outages unexpectedly before finishing a task.

This exception could happen because the actor process is dead, or is unavailable for the moment. Ray raises subclasses ActorDiedError and ActorUnavailableError respectively.