Kagome
Polkadot Runtime Engine in C++17
runtime_transaction_error.cpp
Go to the documentation of this file.
1 
7 
10  switch (e) {
11  case E::NO_TRANSACTIONS_WERE_STARTED:
12  return "no transactions were started";
13  }
14  return "unknown TransactionError";
15 }
RuntimeTransactionError
RuntimeTransactionError enum provides error codes for storage transactions mechanism.
OUTCOME_CPP_DEFINE_CATEGORY(kagome::runtime, RuntimeTransactionError, e)