Kagome
Polkadot Runtime Engine in C++17
trie_error.cpp
Go to the documentation of this file.
1 
7 
10  switch (e) {
11  case TrieError::NO_VALUE:
12  return "no stored value found by the given key";
13  }
14  return "unknown";
15 }
OUTCOME_CPP_DEFINE_CATEGORY(kagome::storage::trie, TrieError, e)
Definition: trie_error.cpp:8
TrieError
TrieDbError enum provides error codes for TrieDb methods.
Definition: trie_error.hpp:15