holoscan::make_unexpected
holoscan::make_unexpected
Construct an owning unexpected error value.
Decay the argument type so an lvalue never produces a reference-bearing unexpected.
Returns: The owning unexpected error value.
Template parameters
E
Deduced error argument type.
Parameters
error
Error value to copy or move into the result.