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

Class ActorAlreadyExistsError

python/ray/exceptions.py:1042–1056  ·  view source on GitHub ↗

Raised when a named actor already exists. Note that this error is not only a subclass of RayError, but also a subclass of ValueError, to maintain backward compatibility. Args: error_message: The error message that contains information about the actor name and namespace.

Source from the content-addressed store, hash-verified

1040
1041@DeveloperAPI
1042class ActorAlreadyExistsError(ValueError, RayError):
1043 """Raised when a named actor already exists.
1044
1045 Note that this error is not only a subclass of RayError, but also a subclass of ValueError, to maintain backward compatibility.
1046
1047 Args:
1048 error_message: The error message that contains information about the actor name and namespace.
1049 """
1050
1051 def __init__(self, error_message: str):
1052 super().__init__(error_message)
1053 self.error_message = error_message
1054
1055 def __str__(self):
1056 return self.error_message
1057
1058
1059@DeveloperAPI

Callers 1

_remoteMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…