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)[源代码]# 指示演员在完成任务之前意外中断。 此异常可能发生,因为执行者进程已死亡,或暂时不可用。Ray 分别引发 ActorDiedError 和 ActorUnavailableError 子类。