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
jrpc
service
transport
impl
error.cpp
error.hpp
listener.hpp
rpc_io_context.hpp
rpc_thread_pool.cpp
rpc_thread_pool.hpp
session.hpp
tuner.cpp
tuner.hpp
application
assets
authority_discovery
authorship
blockchain
clock
common
consensus
containers
crypto
filesystem
host_api
injector
log
macro
metrics
network
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
error.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CORE_API_TRANSPORT_ERROR_HPP
7
#define KAGOME_CORE_API_TRANSPORT_ERROR_HPP
8
9
#include "
outcome/outcome.hpp
"
10
11
namespace
kagome::api
{
12
enum class
ApiTransportError
{
13
FAILED_SET_OPTION
= 1,
// cannot set an option
14
FAILED_START_LISTENING
,
// cannot start listening, invalid address or port
15
// is busy
16
LISTENER_ALREADY_STARTED
,
// cannot start listener, already started
17
CANNOT_ACCEPT_LISTENER_NOT_WORKING
,
// cannot accept new connection, state
18
// mismatch
19
};
20
}
21
22
OUTCOME_HPP_DECLARE_ERROR
(
kagome::api
,
ApiTransportError
)
23
24
#endif // KAGOME_CORE_API_TRANSPORT_ERROR_HPP
kagome::api::ApiTransportError::LISTENER_ALREADY_STARTED
outcome.hpp
kagome::api::ApiTransportError::FAILED_START_LISTENING
OUTCOME_HPP_DECLARE_ERROR
OUTCOME_HPP_DECLARE_ERROR(kagome::api, JRpcServerImpl::Error)
kagome::api::ApiTransportError::FAILED_SET_OPTION
kagome::api::ApiTransportError
ApiTransportError
Definition:
error.hpp:12
kagome::api::ApiTransportError::CANNOT_ACCEPT_LISTENER_NOT_WORKING
kagome::api
Definition:
custom_json_writer.hpp:23
core
api
transport
error.hpp
Generated by
1.8.11