/
NNError

NNError

/* Error code base */ #define NN_GENERAL_ERROR_BASE (0x0100) /* General error code */ #define NN_NULL_ARG (-(NN_GENERAL_ERROR_BASE + 0x01)) #define NN_INVALID_ARG (-(NN_GENERAL_ERROR_BASE + 0x02)) #define NN_INVALID_ARG_LEN (-(NN_GENERAL_ERROR_BASE + 0x03)) #define NN_NOT_ENOUGH_MEMORY (-(NN_GENERAL_ERROR_BASE + 0x04)) #define NN_BUFFER_TOO_SMALL (-(NN_GENERAL_ERROR_BASE + 0x05)) #define NN_UNEXPECTED_EOF (-(NN_GENERAL_ERROR_BASE + 0x06)) #define NN_FORMAT_ERROR (-(NN_GENERAL_ERROR_BASE + 0x07)) #define NN_INVALID_HANDLE_ERROR (-(NN_GENERAL_ERROR_BASE + 0x08)) #define NN_OPEN_FILE_FAILED (-(NN_GENERAL_ERROR_BASE + 0x09)) #define NN_READ_FILE_FAILED (-(NN_GENERAL_ERROR_BASE + 0x0a)) #define NN_WRITE_TO_FILE_FAILED (-(NN_GENERAL_ERROR_BASE + 0x0b)) #define NN_IS_ALREADY_START (-(NN_GENERAL_ERROR_BASE + 0x0c)) #define NN_NOT_INITIALIZED (-(NN_GENERAL_ERROR_BASE + 0x0d)) #define NN_NOT_IMPLEMENTED (-(NN_GENERAL_ERROR_BASE + 0x0e)) #define NN_INITIALIZE_FAILED (-(NN_GENERAL_ERROR_BASE + 0x0f)) #define NN_TRY_AGAIN (-(NN_GENERAL_ERROR_BASE + 0x10)) #define NN_PROCESS_DATA_ERROR (-(NN_GENERAL_ERROR_BASE + 0x11)) #define NN_PROCESS_TIMEOUT (-(NN_GENERAL_ERROR_BASE + 0x12)) #define NN_PROCESS_NO_RESULTS (-(NN_GENERAL_ERROR_BASE + 0x12)) #define NN_ENTRY_NOT_EXISTS (-(NN_GENERAL_ERROR_BASE + 0x13)) #define NN_LOAD_LIBRARY_FAILED (-(NN_GENERAL_ERROR_BASE + 0x14)) #define NN_LOAD_FUNCTION_FAILED (-(NN_GENERAL_ERROR_BASE + 0x15)) #define NN_NO_RESULT_DETECTED (-(NN_GENERAL_ERROR_BASE + 0x17)) #define NN_NOT_SUPPORTED (-(NN_GENERAL_ERROR_BASE + 0x18)) #define NN_MODEL_NOT_EXIST (-(NN_GENERAL_ERROR_BASE + 0x20)) #define NN_MODEL_ALREADY_EXIST (-(NN_GENERAL_ERROR_BASE + 0x21)) #define NN_SEQUENTIAL_NO_GRAPH (-(NN_GENERAL_ERROR_BASE + 0x22)) #define NN_SEQUENTIAL_HAS_GRAPH (-(NN_GENERAL_ERROR_BASE + 0x23)) #define NN_LISTENER_NOT_EXIST (-(NN_GENERAL_ERROR_BASE + 0x24)) #define NN_LISTENER_ALREADY_EXIST (-(NN_GENERAL_ERROR_BASE + 0x25))

Related content

NNModelPluginDef
NNModelPluginDef
More like this
NNResultListener
NNResultListener
More like this
NNRawData
More like this
NNLogger
More like this
NNImage
More like this
NNModelInfo
More like this