Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Kagome
Consensus
core
Development guide
Guide for `outcome::result<T>`
Rules
Terms
Tooling
Overview
Your first Kagome chain
Runing Kagome in docker container
Start private Kagome network
Namespaces
Classes
Files
File List
core
api
application
assets
authority_discovery
authorship
blockchain
clock
common
consensus
containers
crypto
filesystem
host_api
injector
log
macro
metrics
network
offchain
outcome
parachain
primitives
runtime
binaryen
common
constant_code_provider.cpp
constant_code_provider.hpp
executor.hpp
memory_allocator.cpp
memory_allocator.hpp
module_repository_impl.cpp
module_repository_impl.hpp
runtime_environment_factory.cpp
runtime_instances_pool.cpp
runtime_instances_pool.hpp
runtime_transaction_error.cpp
runtime_transaction_error.hpp
runtime_upgrade_tracker_impl.cpp
runtime_upgrade_tracker_impl.hpp
storage_code_provider.cpp
storage_code_provider.hpp
trie_storage_provider_impl.cpp
trie_storage_provider_impl.hpp
uncompress_code_if_needed.cpp
uncompress_code_if_needed.hpp
runtime_api
wavm
core_api_factory.hpp
instance_environment.hpp
memory.hpp
memory_provider.hpp
module.hpp
module_factory.hpp
module_instance.hpp
module_repository.hpp
persistent_result.hpp
ptr_size.hpp
raw_executor.hpp
runtime_code_provider.hpp
runtime_environment_factory.hpp
runtime_properties_cache.hpp
runtime_upgrade_tracker.hpp
trie_storage_provider.hpp
types.hpp
scale
storage
subscription
telemetry
transaction_pool
utils
docs
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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