Kagome
Polkadot Runtime Engine in C++17
transaction_pool_error.cpp
Go to the documentation of this file.
1 
7 
10  switch (e) {
11  case E::TX_ALREADY_IMPORTED:
12  return "Transaction has already been imported to the pool";
13  case E::TX_NOT_FOUND:
14  return "Transaction not found in the pool";
15  case E::POOL_IS_FULL:
16  return "Transaction pool is full";
17  }
18  return "Unknown transaction pool error";
19 }
OUTCOME_CPP_DEFINE_CATEGORY(kagome::transaction_pool, TransactionPoolError, e)