Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
block_storage_error.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_BLOCKCHAIN_BLOCKSTORAGEERROR
7
#define KAGOME_BLOCKCHAIN_BLOCKSTORAGEERROR
8
9
#include "
outcome/outcome.hpp
"
10
11
namespace
kagome::blockchain
{
12
13
enum class
BlockStorageError
{
14
BLOCK_EXISTS
= 1,
15
HEADER_NOT_FOUND
,
16
GENESIS_BLOCK_ALREADY_EXISTS
,
17
GENESIS_BLOCK_NOT_FOUND
,
18
FINALIZED_BLOCK_NOT_FOUND
,
19
BLOCK_TREE_LEAVES_NOT_FOUND
20
};
21
22
}
23
24
OUTCOME_HPP_DECLARE_ERROR
(
kagome::blockchain
,
BlockStorageError
);
25
26
#endif // KAGOME_BLOCKCHAIN_BLOCKSTORAGEERROR
kagome::blockchain::BlockStorageError::GENESIS_BLOCK_NOT_FOUND
kagome::blockchain::BlockStorageError::GENESIS_BLOCK_ALREADY_EXISTS
outcome.hpp
kagome::blockchain::BlockStorageError::BLOCK_EXISTS
kagome::blockchain::BlockStorageError
BlockStorageError
Definition:
block_storage_error.hpp:13
kagome::blockchain::BlockStorageError::BLOCK_TREE_LEAVES_NOT_FOUND
kagome::blockchain::BlockStorageError::HEADER_NOT_FOUND
OUTCOME_HPP_DECLARE_ERROR
OUTCOME_HPP_DECLARE_ERROR(kagome::blockchain, BlockStorageError)
kagome::blockchain::BlockStorageError::FINALIZED_BLOCK_NOT_FOUND
kagome::blockchain
Definition:
author_api_impl.hpp:28
core
blockchain
block_storage_error.hpp
Generated by
1.8.11