13 case E::UNSUPPORTED_MESSAGE_TYPE:
14 return "unsupported message type";
15 case E::WRONG_AUTHORITY_INDEX:
16 return "wrong authority index (out of bound)";
17 case E::NO_SCHEDULED_CHANGE_APPLIED_YET:
18 return "no previous change (scheduled) applied yet";
19 case E::NO_FORCED_CHANGE_APPLIED_YET:
20 return "no previous change (forced) applied yet";
21 case E::NO_PAUSE_APPLIED_YET:
22 return "no previous change (pause) applied yet";
23 case E::NO_RESUME_APPLIED_YET:
24 return "no previous change (resume) applied yet";
26 return "unknown error (invalid AuthorityUpdateObserverError)";
OUTCOME_CPP_DEFINE_CATEGORY(kagome::authority, AuthorityUpdateObserverError, e)
AuthorityUpdateObserverError