Template Class Unexpected# Defined in File expected.h Class Documentation# template<typename E = Error>class Unexpected# Wrapper to explicitly construct an Expected in the error state. Template Parameters: E – The error type, must derive from Error. Public Functions inline explicit Unexpected(E error)# Construct from an error value. inline const E &error() const & noexcept# Access the stored error. inline E &error() & noexcept# Access the stored error. inline const E &&error() const && noexcept# Access the stored error (rvalue). inline E &&error() && noexcept# Access the stored error (rvalue).