Kagome
Polkadot Runtime Engine in C++17
trie_error.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_STORAGE_TRIE_TRIE_ERROR_HPP
7 #define KAGOME_STORAGE_TRIE_TRIE_ERROR_HPP
8 
9 #include "outcome/outcome.hpp"
10 
11 namespace kagome::storage::trie {
15  enum class TrieError {
16  NO_VALUE = 1, // no stored value found by the given key
17  };
18 } // namespace kagome::storage::trie
19 
21 
22 #endif // KAGOME_STORAGE_TRIE_TRIE_ERROR_HPP
OUTCOME_HPP_DECLARE_ERROR(kagome::api, JRpcServerImpl::Error)
TrieError
TrieDbError enum provides error codes for TrieDb methods.
Definition: trie_error.hpp:15