2023-09-12 18:44:45 +00:00
|
|
|
# nimbus-eth1
|
2024-03-12 03:04:46 +00:00
|
|
|
# Copyright (c) 2023-2024 Status Research & Development GmbH
|
2023-09-12 18:44:45 +00:00
|
|
|
# Licensed under either of
|
|
|
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0)
|
|
|
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT) or
|
|
|
|
# http://opensource.org/licenses/MIT)
|
|
|
|
# at your option. This file may not be copied, modified, or distributed
|
|
|
|
# except according to those terms.
|
|
|
|
|
|
|
|
type KvtError* = enum
|
|
|
|
NothingSerious = 0
|
|
|
|
GenericError
|
|
|
|
GetNotFound
|
|
|
|
KeyInvalid
|
|
|
|
DataInvalid
|
|
|
|
|
|
|
|
# RocksDB backend
|
|
|
|
RdbBeCantCreateDataDir
|
|
|
|
RdbBeDelayedAlreadyRegistered
|
2024-06-13 18:15:11 +00:00
|
|
|
RdbBeDelayedLocked
|
|
|
|
RdbBeDelayedNotReady
|
2023-09-12 18:44:45 +00:00
|
|
|
RdbBeDriverDelError
|
2024-04-16 20:39:11 +00:00
|
|
|
RdbBeDriverGetError
|
2023-09-12 18:44:45 +00:00
|
|
|
RdbBeDriverInitError
|
2024-04-16 20:39:11 +00:00
|
|
|
RdbBeDriverPutError
|
|
|
|
RdbBeDriverWriteError
|
2024-06-13 18:15:11 +00:00
|
|
|
RdbBeHostError
|
2023-09-12 18:44:45 +00:00
|
|
|
RdbBeHostNotApplicable
|
|
|
|
|
|
|
|
# Transaction wrappers
|
|
|
|
TxArgStaleTx
|
|
|
|
TxBackendNotWritable
|
2024-05-07 19:59:27 +00:00
|
|
|
TxLevelTooDeep
|
|
|
|
TxLevelUseless
|
2023-09-12 18:44:45 +00:00
|
|
|
TxNoPendingTx
|
|
|
|
TxNotTopTx
|
2024-05-07 19:59:27 +00:00
|
|
|
TxPendingTx
|
2024-06-13 18:15:11 +00:00
|
|
|
TxPersistDelayed
|
|
|
|
TxStackGarbled
|
2023-09-12 18:44:45 +00:00
|
|
|
TxStackUnderflow
|
|
|
|
|
|
|
|
# Filter management
|
|
|
|
FilBackendMissing
|
|
|
|
FilBackendRoMode
|
|
|
|
FilSiblingsCommitUnfinshed
|
|
|
|
|
2023-09-18 20:20:28 +00:00
|
|
|
# Functions from `kvt_desc`
|
|
|
|
MustBeOnCentre
|
|
|
|
NotAllowedOnCentre
|
2024-03-14 22:17:43 +00:00
|
|
|
StaleDescriptor
|
2023-09-18 20:20:28 +00:00
|
|
|
|
2023-09-12 18:44:45 +00:00
|
|
|
# End
|