31#ifndef DW_CORE_BASE_ERRORDEFS_H_
32#define DW_CORE_BASE_ERRORDEFS_H_
dwStatus
Status definition.
@ DW_FILE_NOT_FOUND
Requested file was not found.
@ DW_SAL_NO_DRIVER_FOUND
Requested sensor driver cannot be found.
@ DW_DNN_INVALID_TYPE
DNN model type is invalid.
@ DW_SAL_CANNOT_INITIALIZE
A sensor cannot be initialized, e.g., sensor might not be responding.
@ DW_NUM_ERROR_CODES
Total number of DW error codes.
@ DW_NOT_INITIALIZED
The object requires initialization first.
@ DW_LOG_CANNOT_WRITE
Logger is unable to write output.
@ DW_CUDA_CONTEXT_ERROR
The CUDA context is either not present or cannot be initialized.
@ DW_CUDA_ERROR
There was an error from the CUDA API.
@ DW_INTERNAL_ERROR
Internal error indicating a non recoverable situation.
@ DW_END_OF_STREAM
End of stream reached.
@ DW_BAD_CAST
Cannot cast given handle to an expected type.
@ DW_NOT_RELEASED
Given handle has not been released yet.
@ DW_NOT_SUPPORTED
Desired set of parameters or functionality is not suported.
@ DW_UNEXPECTED_IPC_EVENT
Unexpected/Invalid Event received for IPC.
@ DW_BUSY_WAITING
No response since too busy, not an error but please retry.
@ DW_NOT_IMPLEMENTED
Requested feature/method is not yet implemented.
@ DW_LOG_CANNOT_FLUSH
Logger is unable to flush output.
@ DW_BAD_ALIGNMENT
Incorrect alignment for a pointer.
@ DW_CANNOT_SYNCHRONIZE
The synchronization call has failed.
@ DW_TIME_OUT
The request has timed out.
@ DW_BUFFER_FULL
An internal buffer has reached its capacity.
@ DW_INVALID_VERSION
Invalid version between headers and runtime library.
@ DW_CUDA_DEVICE_ERROR
The CUDA device currently selected is either incompatible with the operation or has failed.
@ DW_INVALID_HANDLE
Given handle is invalid, i.e., not a valid handle.
@ DW_EMPTY_QUEUE
No more events/data available to process.
@ DW_NVMEDIA_ERROR
NvMedia API resulted in an error.
@ DW_DNN_INVALID_MODEL
Given network model is not valid.
@ DW_SAL_SENSOR_ERROR
Internal non-recoverable sensor error.
@ DW_BAD_ALLOC
Cannot allocate required memory.
@ DW_NOT_AVAILABLE
Requested method or object instance is not yet available.
@ DW_CANNOT_CREATE_OBJECT
Failed to create a DW Object.
@ DW_GL_ERROR
Last call to OpenGL API resulted in an error.
@ DW_HAL_CANNOT_OPEN_CHANNEL
HAL cannot open a channel.
@ DW_FILE_INVALID
File content is invalid.
@ DW_FAILURE
Unknown, non-recoverable error.
@ DW_SAL_CANNOT_CREATE_SENSOR
A sensor cannot be created, e.g. possible issues are wrong parameters.
@ DW_OUT_OF_BOUNDS
Out of bounds exception (e.g. in array access).
@ DW_NOT_READY
The processing is not finished or ready.
@ DW_UNEXPECTED_EVENT
Unexpected/Invalid Event received from a block.
@ DW_INVALID_ARGUMENT
One of the given arguments cannot be processed by the function.
@ DW_CALL_NOT_ALLOWED
The call to a method is not allowed at this state.
@ DW_SAL_SENSOR_UNSUPPORTED
Requested sensor is unsupported.