12 return "The call of the transaction is not expected";
14 return "General error to do with the inability to pay some fees (e.g. " 15 "account balance too low)";
17 return "General error to do with the transaction not yet being valid " 18 "(e.g. nonce too high)";
20 return "General error to do with the transaction being outdated (e.g. " 23 return "General error to do with the transaction's proofs (e.g. " 25 case E::AncientBirthBlock:
26 return "The transaction birth block is ancient";
27 case E::ExhaustsResources:
28 return "The transaction would exhaust the resources of current block. " 29 "The transaction might be valid, but there are not enough " 30 "resources left in the current block";
32 return "Custom invalid error";
34 return "A call was labelled as mandatory, but resulted in an Error.";
35 case E::MandatoryDispatch:
36 return "Transaction dispatch is mandatory; transactions may not have " 37 "mandatory dispatches.";
39 return "Unknown InvalidTransaction error";
46 return "Could not lookup some information that is required to validate " 48 case E::NoUnsignedValidator:
49 return "No validator found for the given unsigned transaction";
51 return "Custom unknown error";
53 return "Unknown UnknownTransaction error";
UnknownTransaction
An unknown transaction validity.
OUTCOME_CPP_DEFINE_CATEGORY(kagome::primitives, InvalidTransaction, e)
InvalidTransaction
Transaction is invalid. Details are described by the error code.