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
scale
storage
changes_trie
face
in_memory
rocksdb
trie
impl
polkadot_trie
polkadot_trie.hpp
polkadot_trie_cursor.hpp
polkadot_trie_cursor_impl.cpp
polkadot_trie_cursor_impl.hpp
polkadot_trie_factory.hpp
polkadot_trie_factory_impl.cpp
polkadot_trie_factory_impl.hpp
polkadot_trie_impl.cpp
polkadot_trie_impl.hpp
trie_error.cpp
trie_error.hpp
trie_node.cpp
trie_node.hpp
serialization
codec.hpp
node.hpp
trie_batches.hpp
trie_storage.hpp
trie_storage_backend.hpp
types.hpp
buffer_map_types.hpp
database_error.cpp
database_error.hpp
predefined_keys.hpp
subscription
telemetry
transaction_pool
utils
docs
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
trie_error.cpp
Go to the documentation of this file.
1
6
#include "
storage/trie/polkadot_trie/trie_error.hpp
"
7
8
OUTCOME_CPP_DEFINE_CATEGORY
(
kagome::storage::trie
,
TrieError
, e) {
9
using
kagome::storage::trie::TrieError
;
10
switch
(e) {
11
case
TrieError::NO_VALUE:
12
return
"no stored value found by the given key"
;
13
}
14
return
"unknown"
;
15
}
kagome::storage::trie
Definition:
api_service_impl.hpp:41
OUTCOME_CPP_DEFINE_CATEGORY
OUTCOME_CPP_DEFINE_CATEGORY(kagome::storage::trie, TrieError, e)
Definition:
trie_error.cpp:8
trie_error.hpp
kagome::storage::trie::TrieError
TrieError
TrieDbError enum provides error codes for TrieDb methods.
Definition:
trie_error.hpp:15
core
storage
trie
polkadot_trie
trie_error.cpp
Generated by
1.8.11