Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
vote_graph_error.cpp
Go to the documentation of this file.
1
6
#include "
consensus/grandpa/vote_graph/vote_graph_error.hpp
"
7
8
9
OUTCOME_CPP_DEFINE_CATEGORY
(
kagome::consensus::grandpa
,
VoteGraphError
, e) {
10
using
E =
kagome::consensus::grandpa::VoteGraphError
;
11
switch
(e) {
12
case
E::RECEIVED_BLOCK_LESS_THAN_BASE
:
13
return
"Received block has smaller height than base in graph"
;
14
}
15
return
"Unknown error (invalid VoteGraphError)"
;
16
}
kagome::consensus::grandpa
Definition:
catch_up_observer.hpp:13
vote_graph_error.hpp
OUTCOME_CPP_DEFINE_CATEGORY
OUTCOME_CPP_DEFINE_CATEGORY(kagome::consensus::grandpa, VoteGraphError, e)
Definition:
vote_graph_error.cpp:9
kagome::consensus::grandpa::VoteGraphError
VoteGraphError
Definition:
vote_graph_error.hpp:13
kagome::consensus::grandpa::RECEIVED_BLOCK_LESS_THAN_BASE
Definition:
vote_graph_error.hpp:14
core
consensus
grandpa
vote_graph
vote_graph_error.cpp
Generated by
1.8.11