Kagome
Polkadot Runtime Engine in C++17
babe_error.cpp
Go to the documentation of this file.
1 
7 
10  switch (e) {
11  case E::TIMER_ERROR:
12  return "some internal error happened while using the timer in BABE; "
13  "please, see logs";
14  case E::NODE_FALL_BEHIND:
15  return "local node has fallen too far behind the others, most likely "
16  "it is in one of the previous epochs";
17  case E::MISSING_PROOF:
18  return "required VRF proof is missing";
19  case E::BAD_ORDER_OF_DIGEST_ITEM:
20  return "bad order of digest item; PreRuntime must be first";
21  case E::UNKNOWN_DIGEST_TYPE:
22  return "unknown type of digest";
23  }
24  return "unknown error";
25 }
OUTCOME_CPP_DEFINE_CATEGORY(kagome::consensus, BabeError, e)
Definition: babe_error.cpp:8