common: add missing status codes to ivy_status_to_string
This commit is contained in:
@@ -16,6 +16,11 @@ const char *ivy_status_to_string(enum ivy_status status)
|
|||||||
ENUM_STR(IVY_ERR_NO_MEMORY);
|
ENUM_STR(IVY_ERR_NO_MEMORY);
|
||||||
ENUM_STR(IVY_ERR_NOT_SUPPORTED);
|
ENUM_STR(IVY_ERR_NOT_SUPPORTED);
|
||||||
ENUM_STR(IVY_ERR_INTERNAL_FAILURE);
|
ENUM_STR(IVY_ERR_INTERNAL_FAILURE);
|
||||||
|
ENUM_STR(IVY_ERR_BAD_STATE);
|
||||||
|
ENUM_STR(IVY_ERR_INVALID_VALUE);
|
||||||
|
ENUM_STR(IVY_ERR_NO_ENTRY);
|
||||||
|
ENUM_STR(IVY_ERR_NAME_EXISTS);
|
||||||
|
ENUM_STR(IVY_ERR_BAD_FORMAT);
|
||||||
default:
|
default:
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user