12 return "Protocol was switched off";
13 case E::PROTOCOL_NOT_IMPLEMENTED:
14 return "Protocol is not implemented";
15 case E::CAN_NOT_CREATE_STATUS:
16 return "Can not create status";
17 case E::NODE_NOT_SYNCHRONIZED_YET:
18 return "Node is not synchronized yet";
19 case E::GENESIS_NO_MATCH:
20 return "Local and remote genesis don't match";
21 case E::HANDSHAKE_ERROR:
22 return "Handshake exchange failed";
24 return "Unknown error (kagome::network::ProtocolError)";
OUTCOME_CPP_DEFINE_CATEGORY(kagome::network, ProtocolError, e)