Error Code

Overview

Note

The error code has 7 digits: XX-XXXXX, the first two digits indicate the error type, and the last 5 digits indicate the specific error description.

// common status HB_UCP_SUCCESS = 0 // Execution successfully HB_UCP_INVALID_ARGUMENT = -100001 // Illegal parameter HB_UCP_API_USE_ERROR = -100002 // Interface use error HB_UCP_INIT_FAILED = -100003 // Init error HB_UCP_UNKNOWN_ERROR = -100004 // Intercept internal error code // task error HB_UCP_TASK_NUMBER_EXCEED_LIMIT = -200001 // Number of tasks exceeds the limit HB_UCP_TASK_TIMEOUT = -200002 // Task wait timeout HB_UCP_TASK_RUN_FAILED = -200003 // Task failed to execute HB_UCP_TASK_HANDLE_INVALID = -200004 // Illegal task handle // op error HB_UCP_OP_NUMBER_EXCEED_LIMIT = -300001 // Number of operators exceeds the limit HB_UCP_OP_NOT_REGISTER = -300002 // The operator is not registered HB_UCP_OP_CMD_UNAVAILABLE = -300003 // The operator command code is not available // memory error HB_UCP_MEM_ALLOC_FAIL = -400001 // Failed to alloc memory HB_UCP_MEM_FREE_FAIL = -400002 // Failed to free memory HB_UCP_MEM_FLUSH_FAIL = -400003 // Failed to flush cached data to memory HB_UCP_MEM_INVALIDATE_FAIL = -400004 // Failed to flush memory to cache HB_UCP_MEM_IS_INVALID = -400005 // Invalid memory HB_UCP_MEM_MAP_FAIL = -400006 // Failed to map memory HB_UCP_MEM_UNMAP_FAIL = -400007 // Failed to unmap memory // file HB_UCP_FILE_OPEN_FAILED = -500001 // Failed to open the file // model HB_UCP_MODEL_NUMBER_EXCEED_LIMIT = -600001 // Number of models exceeds the limit HB_UCP_MODEL_INVALID = -600002 // Illegal model HB_UCP_MODEL_IS_INUSE = -600003 // Model execution in progress HB_UCP_MODEL_INCOMPATIBLE = -600004 // Incompatible model
Tip

When analyzing error codes, it is recommended to combine them with error logs. Additionally, you can adjust the UCP log level through environment variables to help troubleshoot issues based on more detailed log information.

On This Page