Go to the source code of this file.
◆ FRWK_CHECK_NVSCI_ERROR
#define FRWK_CHECK_NVSCI_ERROR |
( |
|
e | ) |
|
Value: { \
NvSciError FRWK_CHECK_NVSCI_ERROR_ret{(e)}; \
if (NvSciError_Success != FRWK_CHECK_NVSCI_ERROR_ret) \
{ \
<< "(" << static_cast<uint32_t>(FRWK_CHECK_NVSCI_ERROR_ret) << ")" \
<< " in " << __FILE__ \
<< ":" << __LINE__ << Logger::State::endl; \
if (NvSciError_Timeout == FRWK_CHECK_NVSCI_ERROR_ret) \
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.