Kagome
Polkadot Runtime Engine in C++17
database_error.hpp File Reference
Include dependency graph for database_error.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 kagome::storage
 

Enumerations

enum  kagome::storage::DatabaseError : int {
  kagome::storage::DatabaseError::OK = 0, kagome::storage::DatabaseError::NOT_FOUND = 1, kagome::storage::DatabaseError::CORRUPTION = 2, kagome::storage::DatabaseError::NOT_SUPPORTED = 3,
  kagome::storage::DatabaseError::INVALID_ARGUMENT = 4, kagome::storage::DatabaseError::IO_ERROR = 5, kagome::storage::DatabaseError::DB_PATH_NOT_CREATED = 6, kagome::storage::DatabaseError::UNKNOWN = 1000
}
 universal database interface error More...
 

Functions

 OUTCOME_HPP_DECLARE_ERROR (kagome::storage, DatabaseError)
 

Function Documentation

OUTCOME_HPP_DECLARE_ERROR ( kagome::storage  ,
DatabaseError   
)