CudaRuntimeError#
Fully qualified name: isaacsim::common::exceptions::CudaRuntimeError
-
class CudaRuntimeError : public isaacsim::common::exceptions::IsaacSimException#
Raised when a CUDA runtime call fails.
Public Functions
- CudaRuntimeError(
- const std::string &callerName,
- const std::string &errorDescription,
- std::optional<int> errorCode = std::nullopt,
Construct the exception for a CUDA runtime call that returned an error.
- Parameters:
callerName – [in] The name of the caller that made the CUDA runtime call.
errorDescription – [in] A human-readable description of the error, as reported by the CUDA runtime.
errorCode – [in] The CUDA error code returned by the call (optional).
-
const std::string &getCallerName() const noexcept#
Return the name of the caller that made the CUDA runtime call.
-
const char *what() const noexcept override#
Return the human-readable description of the failure.