Error Codes
Error codes that might be set if an API function fails, assuming the log level is something other than VRTREE_ERRORLEVEL_NONE.
Attributes
Type | Name |
---|---|
const uint32_t | VRTREE_API_INVALID_HANDLE API function expected a valid object handle. |
const uint32_t | VRTREE_API_INVALID_METANODE API function expected a valid metanode name/handle. |
const uint32_t | VRTREE_API_INVALID_PARAMETER API function expected a valid parameter (buffer, string, etc) |
const uint32_t | VRTREE_API_INVALID_PROPERTY API function expected a valid property name/index. |
const uint32_t | VRTREE_API_INVALID_SECURITYCONTEXT API function was called without adequate permissions. |
const uint32_t | VRTREE_API_MISSING_MIGRATIONS API function attempted to perform migrations but some are missing. |
const uint32_t | VRTREE_API_NOT_ALLOWED API function attempted to do something inherently forbidden. |
const uint32_t | VRTREE_API_OK No error - operation succeeded. |
Attributes Documentation
VRTREE_API_INVALID_HANDLE
const uint32_t VRTREE_API_INVALID_HANDLE = 1;
API function expected a valid object handle.
VRTREE_API_INVALID_METANODE
const uint32_t VRTREE_API_INVALID_METANODE = 4;
API function expected a valid metanode name/handle.
VRTREE_API_INVALID_PARAMETER
const uint32_t VRTREE_API_INVALID_PARAMETER = 2;
API function expected a valid parameter (buffer, string, etc)
VRTREE_API_INVALID_PROPERTY
const uint32_t VRTREE_API_INVALID_PROPERTY = 3;
API function expected a valid property name/index.
VRTREE_API_INVALID_SECURITYCONTEXT
const uint32_t VRTREE_API_INVALID_SECURITYCONTEXT = 6;
API function was called without adequate permissions.
VRTREE_API_MISSING_MIGRATIONS
const uint32_t VRTREE_API_MISSING_MIGRATIONS = 5;
API function attempted to perform migrations but some are missing.
VRTREE_API_NOT_ALLOWED
const uint32_t VRTREE_API_NOT_ALLOWED = 7;
API function attempted to do something inherently forbidden.
VRTREE_API_OK
const uint32_t VRTREE_API_OK = 0;
No error - operation succeeded.