Template Function holoscan::make_unexpected
Defined in File expected.hpp
-
template<class E>
static inline constexpr unexpected<E> holoscan::make_unexpected(E &&e) Construct a new unexpected object.
- Template Parameters
E – The type of the error class
- Parameters
e – The object of the error class
- Returns
The unexpected object