mirror of
https://github.com/wassname/ray.git
synced 2026-08-19 12:30:27 +08:00
Throw Python exception if plasma store cannot create new object. (#162)
* Propagate error messages through plasma create. * Use custom exception types instead of exception messages.
This commit is contained in:
committed by
Stephanie Wang
parent
10e067e5e5
commit
baf835efcd
@@ -51,7 +51,9 @@ enum PlasmaError:int {
|
||||
// Trying to create an object that already exists.
|
||||
ObjectExists,
|
||||
// Trying to access an object that doesn't exist.
|
||||
ObjectNonexistent
|
||||
ObjectNonexistent,
|
||||
// Trying to create an object but there isn't enough space in the store.
|
||||
OutOfMemory
|
||||
}
|
||||
|
||||
// Plasma store messages
|
||||
|
||||
Reference in New Issue
Block a user