Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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