13 case E::NOT_SUPPORTED:
14 return "operation is not supported in database";
16 return "data corruption in database";
17 case E::INVALID_ARGUMENT:
18 return "invalid argument to database";
20 return "IO error in database";
22 return "entry not found in database";
23 case E::DB_PATH_NOT_CREATED:
24 return "database path was not created";
29 return "unknown error";
DatabaseError
universal database interface error
OUTCOME_CPP_DEFINE_CATEGORY(kagome::storage, DatabaseError, e)