holoscan::make_unexpected

Beta
View as Markdown
template <class E>
static constexpr unexpected<E> holoscan::make_unexpected(
E &&e
)

Construct a new unexpected object.

Returns: The unexpected object

Template parameters

E
class

The type of the error class

Parameters

e
E &&

The object of the error class