Enum rs2_exception_type

Enum Documentation

enum rs2_exception_type

Exception types are the different categories of errors that RealSense API might return.

Values:

enumerator RS2_EXCEPTION_TYPE_UNKNOWN
enumerator RS2_EXCEPTION_TYPE_CAMERA_DISCONNECTED

Device was disconnected, this can be caused by outside intervention, by internal firmware error or due to insufficient power

enumerator RS2_EXCEPTION_TYPE_BACKEND

Error was returned from the underlying OS-specific layer

enumerator RS2_EXCEPTION_TYPE_INVALID_VALUE

Invalid value was passed to the API

enumerator RS2_EXCEPTION_TYPE_WRONG_API_CALL_SEQUENCE

Function precondition was violated

enumerator RS2_EXCEPTION_TYPE_NOT_IMPLEMENTED

The method is not implemented at this point

enumerator RS2_EXCEPTION_TYPE_DEVICE_IN_RECOVERY_MODE

Device is in recovery mode and might require firmware update

enumerator RS2_EXCEPTION_TYPE_IO

IO Device failure

enumerator RS2_EXCEPTION_TYPE_COUNT

Number of enumeration values. Not a valid input: intended to be used in for-loops.