Kagome
Polkadot Runtime Engine in C++17
runtime_transaction_error.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_CORE_RUNTIME_COMMON_RUNTIME_TRANSACTION_ERROR_HPP
7 #define KAGOME_CORE_RUNTIME_COMMON_RUNTIME_TRANSACTION_ERROR_HPP
8 
9 #include <outcome/outcome.hpp>
10 
11 namespace kagome::runtime {
12 
17  enum class RuntimeTransactionError { // 0 is reserved for success
19  };
20 } // namespace kagome::runtime
21 
23 
24 #endif // KAGOME_CORE_RUNTIME_COMMON_RUNTIME_TRANSACTION_ERROR_HPP
RuntimeTransactionError
RuntimeTransactionError enum provides error codes for storage transactions mechanism.
OUTCOME_HPP_DECLARE_ERROR(kagome::runtime, RuntimeTransactionError)