MCPcopy
hub / github.com/ray-project/ray / __init__

Method __init__

python/ray/exceptions.py:482–491  ·  view source on GitHub ↗
(self, error_message: str, actor_id: Optional[bytes])

Source from the content-addressed store, hash-verified

480 """Raised when the actor is temporarily unavailable but may be available later."""
481
482 def __init__(self, error_message: str, actor_id: Optional[bytes]):
483 actor_id = ActorID(actor_id).hex() if actor_id is not None else None
484 error_msg = (
485 f"The actor {actor_id} is unavailable: {error_message}. The task may or "
486 "may not have been executed on the actor."
487 )
488 actor_init_failed = False
489 preempted = False
490
491 super().__init__(actor_id, error_msg, actor_init_failed, preempted)
492
493
494@PublicAPI

Callers

nothing calls this directly

Calls 2

hexMethod · 0.45
__init__Method · 0.45

Tested by

no test coverage detected