[core worker] Python core worker object interface (#5272)

This commit is contained in:
Edward Oakes
2019-09-12 23:07:46 -07:00
committed by Eric Liang
parent 1b880191b0
commit 07c4c6367a
49 changed files with 1157 additions and 552 deletions
+10
View File
@@ -90,6 +90,15 @@ class RayletError(RayError):
return "The Raylet died with this message: {}".format(self.client_exc)
class ObjectStoreFullError(RayError):
"""Indicates that the object store is full.
This is raised if the attempt to store the object fails
because the object store is full even after multiple retries.
"""
pass
class UnreconstructableError(RayError):
"""Indicates that an object is lost and cannot be reconstructed.
@@ -120,5 +129,6 @@ RAY_EXCEPTION_TYPES = [
RayTaskError,
RayWorkerError,
RayActorError,
ObjectStoreFullError,
UnreconstructableError,
]