common: add some more status codes
This commit is contained in:
@@ -11,6 +11,8 @@ enum ivy_status {
|
|||||||
IVY_ERR_NO_MEMORY = -4,
|
IVY_ERR_NO_MEMORY = -4,
|
||||||
IVY_ERR_NOT_SUPPORTED = -5,
|
IVY_ERR_NOT_SUPPORTED = -5,
|
||||||
IVY_ERR_INTERNAL_FAILURE = -6,
|
IVY_ERR_INTERNAL_FAILURE = -6,
|
||||||
|
IVY_ERR_BAD_STATE = -7,
|
||||||
|
IVY_ERR_INVALID_VALUE = -8,
|
||||||
};
|
};
|
||||||
|
|
||||||
IVY_API const char *ivy_status_to_string(enum ivy_status status);
|
IVY_API const char *ivy_status_to_string(enum ivy_status status);
|
||||||
|
|||||||
Reference in New Issue
Block a user