Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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