holoscan::RuntimeError
holoscan::RuntimeError
Class for runtime errors related to Holoscan SDK.
This class is used to hold runtime error message in Holoscan SDK.
If new error code is required to be added, it could be done by appending to the ErrorCode class and respective error string to the ErrorStrings array.
Inherits from: std::runtime_error (public)
Constructors
RuntimeError
Overload 1
Overload 2
Overload 3
explicit
Methods
construct_error_message
Static methods
error_string
Get the error string from the error code.
Returns: The converted error string in const char*.
Parameters
error_code
The error code to be converted.