holoscan::params::ParamException
holoscan::params::ParamException
Carry one complete structured Parameter tooling failure through an exception boundary.
what() is the result of format_error(error()). Constructing the exception can allocate; callers that need explicit failure handling use the corresponding result-returning API.
Inherits from: holoscan::RuntimeError (public)
Constructors
ParamException
Overload 1
Copy
Construct an exception while preserving the complete structured error.
Parameters
Owning Parameter tooling failure to retain.
Destructor
~ParamException
Destroy the exception through its exported shared-library implementation.
Assignment operators
operator=
Replace an exception with a copy of another structured failure.
Methods
error
Return the retained structured Parameter tooling failure.
code
Get the error code carried by this error.
Returns: The ErrorCode (kFailure for errors constructed without an explicit code).