Kagome
Polkadot Runtime Engine in C++17
outcome_throw.hpp File Reference
#include <boost/system/system_error.hpp>
#include <boost/throw_exception.hpp>
Include dependency graph for outcome_throw.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 kagome::common
 

Functions

template<typename T , typename = std::enable_if_t<std::is_enum_v<T>>>
void kagome::common::raise (T t)
 throws outcome::result error as boost exception More...
 
template<typename T , typename = std::enable_if_t<!std::is_enum_v<T>>>
void kagome::common::raise (const T &t)
 throws outcome::result error made of error as boost exception More...