src/storage/trie/supergenius_trie/trie_error.cpp¶
Functions¶
| Name | |
|---|---|
| OUTCOME_CPP_DEFINE_CATEGORY_3(sgns::storage::trie , TrieError , e ) |
Functions Documentation¶
function OUTCOME_CPP_DEFINE_CATEGORY_3¶
Source code¶
#include "storage/trie/supergenius_trie/trie_error.hpp"
OUTCOME_CPP_DEFINE_CATEGORY_3(sgns::storage::trie, TrieError, e) {
using sgns::storage::trie::TrieError;
switch (e) {
case TrieError::NO_VALUE:
return "no stored value found by the given key";
}
return "unknown";
}
Updated on 2026-03-04 at 13:10:45 -0800