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

Class CrossLanguageError

python/ray/exceptions.py:66–75  ·  view source on GitHub ↗

Raised from another language.

Source from the content-addressed store, hash-verified

64
65@PublicAPI
66class CrossLanguageError(RayError):
67 """Raised from another language."""
68
69 def __init__(self, ray_exception):
70 super().__init__(
71 "An exception raised from {}:\n{}".format(
72 Language.Name(ray_exception.language),
73 ray_exception.formatted_exception_string,
74 )
75 )
76
77
78@PublicAPI

Callers 1

from_ray_exceptionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…