holoscan::RuntimeError
Class for runtime errors related to Holoscan SDK.
This class is used to hold runtime error message in Holoscan SDK.
New error codes are added by appending to the ErrorCode enum; their names are derived automatically by error_code_name().
Inherits from: std::runtime_error (public)
Constructors
RuntimeError
Overload 1
Overload 2
Overload 3
Overload 4
Copy
explicit
Methods
code
Get the error code carried by this error.
Returns: The ErrorCode (kFailure for errors constructed without an explicit code).