Class bad_result_access<E>

#include <Geode/external/result/result.hpp>
template<typename E>classbad_result_access:publicstd::logic_error{ ... }

///////////////////////////////////////////////////////////////////////////// /// \brief An exception thrown when result::value is accessed without /// a contained value /////////////////////////////////////////////////////////////////////////////

Examples0
Public static methods0
Public member functions9
template<typename E2,typename = typename std::enable_if<std::is_constructible<E,E2>::value>::type>voidbad_result_access<type-parameter-0-0>(
E2&&error
)

/// \brief Constructs this exception using the underlying error type for /// the error type /// /// \param error the underlying error

template<typename E2,typename = typename std::enable_if<std::is_constructible<E,E2>::value>::type>voidbad_result_access<type-parameter-0-0>(
charconst*what_arg
,
E2&&error
)

/// { /// \brief Constructs this exception using the underlying error type for /// the error and a message /// /// \param what_arg the message for the failure /// \param error the underlying error

template<typename E2,typename = typename std::enable_if<std::is_constructible<E,E2>::value>::type>voidbad_result_access<type-parameter-0-0>(,
E2&&error
)
No description provided
cpp::bitwizeshift::bad_result_access&operator=()
No description provided
cpp::bitwizeshift::bad_result_access&operator=()
No description provided
E&error()

/// { /// \brief Gets the underlying error /// /// \return the error

E&&error()
No description provided
const Econst&error()const
No description provided
const Econst&&error()const
No description provided
Fields0
Protected member functions0
Protected fields0