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
adapters
adapter_errors.cpp
adapter_errors.hpp
protobuf.hpp
protobuf_block_request.hpp
protobuf_block_response.hpp
protobuf_state_request.hpp
protobuf_state_response.hpp
uvar.hpp
helpers
impl
messages
protocols
types
block_announce_observer.hpp
block_announce_transmitter.hpp
collation_observer.hpp
common.hpp
extrinsic_observer.hpp
grandpa_transmitter.hpp
peer_manager.hpp
peering_config.hpp
protocol_base.hpp
reputation_change.hpp
reputation_repository.hpp
req_collation_observer.hpp
router.hpp
rpc.hpp
state_protocol_observer.hpp
sync_protocol_observer.hpp
synchronizer.hpp
transactions_transmitter.hpp
offchain
outcome
parachain
primitives
runtime
scale
storage
subscription
telemetry
transaction_pool
utils
docs
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
adapter_errors.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_ADAPTERS_ERRORS
7
#define KAGOME_ADAPTERS_ERRORS
8
9
#include <
outcome/outcome.hpp
>
10
11
namespace
kagome::network
{
15
enum class
AdaptersError
: int {
16
EMPTY_DATA
= 1,
17
DATA_SIZE_CORRUPTED
,
18
PARSE_FAILED
,
19
UNEXPECTED_VARIANT
,
20
CAST_FAILED
,
21
};
22
23
}
// namespace kagome::network
24
25
OUTCOME_HPP_DECLARE_ERROR
(
kagome::network
,
AdaptersError
)
26
27
#endif // KAGOME_ADAPTERS_ERRORS
kagome::network::AdaptersError::DATA_SIZE_CORRUPTED
kagome::network::AdaptersError::PARSE_FAILED
kagome::network::AdaptersError::EMPTY_DATA
outcome.hpp
OUTCOME_HPP_DECLARE_ERROR
OUTCOME_HPP_DECLARE_ERROR(kagome::api, JRpcServerImpl::Error)
kagome::network::AdaptersError
AdaptersError
interface adapters errors
Definition:
adapter_errors.hpp:15
kagome::network
Definition:
author_api_impl.hpp:37
kagome::network::AdaptersError::CAST_FAILED
kagome::network::AdaptersError::UNEXPECTED_VARIANT
core
network
adapters
adapter_errors.hpp
Generated by
1.8.11