Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
runtime_transaction_error.cpp
Go to the documentation of this file.
1
6
#include "
runtime/common/runtime_transaction_error.hpp
"
7
8
OUTCOME_CPP_DEFINE_CATEGORY
(
kagome::runtime
,
RuntimeTransactionError
, e) {
9
using
E =
kagome::runtime::RuntimeTransactionError
;
10
switch
(e) {
11
case
E::NO_TRANSACTIONS_WERE_STARTED:
12
return
"no transactions were started"
;
13
}
14
return
"unknown TransactionError"
;
15
}
kagome::runtime
Definition:
author_api_impl.hpp:43
runtime_transaction_error.hpp
kagome::runtime::RuntimeTransactionError
RuntimeTransactionError
RuntimeTransactionError enum provides error codes for storage transactions mechanism.
Definition:
runtime_transaction_error.hpp:17
OUTCOME_CPP_DEFINE_CATEGORY
OUTCOME_CPP_DEFINE_CATEGORY(kagome::runtime, RuntimeTransactionError, e)
Definition:
runtime_transaction_error.cpp:8
core
runtime
common
runtime_transaction_error.cpp
Generated by
1.8.11