Kagome
Polkadot Runtime Engine in C++17
|
#include <boost/system/system_error.hpp>
#include <boost/throw_exception.hpp>
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... | |