Skip to content

src/storage/trie/supergenius_trie/trie_error.hpp

Namespaces

Name
sgns
sgns::storage
sgns::storage::trie

Types

Name
enum class TrieError { NO_VALUE = 1}
TrieDbError enum provides error codes for TrieDb methods.

Types Documentation

enum TrieError

Enumerator Value Description
NO_VALUE 1

TrieDbError enum provides error codes for TrieDb methods.

Source code

#ifndef SUPERGENIUS_STORAGE_TRIE_TRIE_ERROR_HPP
#define SUPERGENIUS_STORAGE_TRIE_TRIE_ERROR_HPP

#include "outcome/outcome.hpp"

namespace sgns::storage::trie {
  enum class TrieError {
    NO_VALUE = 1,  // no stored value found by the given key
  };
}  // namespace sgns::storage::trie

OUTCOME_HPP_DECLARE_ERROR_2(sgns::storage::trie, TrieError)

#endif  // SUPERGENIUS_STORAGE_TRIE_TRIE_ERROR_HPP

Updated on 2026-03-04 at 13:10:45 -0800