Go to the source code of this file.
◆ FRWK_CHECK_NVSCI_ERROR
#define FRWK_CHECK_NVSCI_ERROR |
( |
|
e | ) |
|
Value: { \
auto FRWK_CHECK_NVSCI_ERROR_ret = (e); \
if (FRWK_CHECK_NVSCI_ERROR_ret != NvSciError_Success) \
{ \
<< "(" << FRWK_CHECK_NVSCI_ERROR_ret << ")" \
<< " in " << __FILE__ \
<< ":" << __LINE__ << Logger::State::endl; \
if (FRWK_CHECK_NVSCI_ERROR_ret == NvSciError_Timeout) \
throw dw::core::ExceptionWithStatus(DW_TIME_OUT, "NvSci API Timeout"); \
else \
throw dw::core::ExceptionWithStatus(DW_INTERNAL_ERROR, "NvSci internal error occured"); \
} \
}
const char * nvSciGetErrorName(uint32_t error)
Definition at line 51 of file NvSciHelper.hpp.