12 return "Block already exists on the chain";
13 case E::HEADER_NOT_FOUND:
14 return "Block header was not found";
15 case E::GENESIS_BLOCK_ALREADY_EXISTS:
16 return "Genesis block already exists";
17 case E::FINALIZED_BLOCK_NOT_FOUND:
18 return "Finalized block not found. Possibly storage is corrupted";
19 case E::GENESIS_BLOCK_NOT_FOUND:
20 return "Genesis block not found";
21 case E::BLOCK_TREE_LEAVES_NOT_FOUND:
22 return "Genesis block not found";
24 return "Unknown error";
OUTCOME_CPP_DEFINE_CATEGORY(kagome::blockchain, BlockStorageError, e)