Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
protocol_error.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_NETWORK_PROTOCOLERROR
7
#define KAGOME_NETWORK_PROTOCOLERROR
8
9
#include "
outcome/outcome.hpp
"
10
11
namespace
kagome::network
{
12
13
enum class
ProtocolError
{
14
GONE
= 1,
15
PROTOCOL_NOT_IMPLEMENTED
,
16
CAN_NOT_CREATE_STATUS
,
17
NODE_NOT_SYNCHRONIZED_YET
,
18
GENESIS_NO_MATCH
,
19
HANDSHAKE_ERROR
20
};
21
22
}
23
24
OUTCOME_HPP_DECLARE_ERROR
(
kagome::network
,
ProtocolError
);
25
26
#endif // KAGOME_NETWORK_PROTOCOLERROR
kagome::network::ProtocolError::PROTOCOL_NOT_IMPLEMENTED
outcome.hpp
kagome::network::ProtocolError::NODE_NOT_SYNCHRONIZED_YET
kagome::network::ProtocolError::CAN_NOT_CREATE_STATUS
kagome::network::ProtocolError::GONE
OUTCOME_HPP_DECLARE_ERROR
OUTCOME_HPP_DECLARE_ERROR(kagome::network, ProtocolError)
kagome::network::ProtocolError
ProtocolError
Definition:
protocol_error.hpp:13
kagome::network::ProtocolError::HANDSHAKE_ERROR
kagome::network
Definition:
author_api_impl.hpp:37
kagome::network::ProtocolError::GENESIS_NO_MATCH
core
network
impl
protocols
protocol_error.hpp
Generated by
1.8.11