mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Revert "ethdb: add a generic notfound error"
This reverts commit 340b805fac.
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
0ef7483b49
commit
6de206fd3b
1 changed files with 1 additions and 9 deletions
|
|
@ -17,15 +17,7 @@
|
||||||
// Package ethdb defines the interfaces for an Ethereum data store.
|
// Package ethdb defines the interfaces for an Ethereum data store.
|
||||||
package ethdb
|
package ethdb
|
||||||
|
|
||||||
import (
|
import "io"
|
||||||
"errors"
|
|
||||||
"io"
|
|
||||||
)
|
|
||||||
|
|
||||||
var (
|
|
||||||
// ErrNotFound is the errorcode if the requested key does not exist.
|
|
||||||
ErrNotFound = errors.New("not found")
|
|
||||||
)
|
|
||||||
|
|
||||||
// KeyValueReader wraps the Has and Get method of a backing data store.
|
// KeyValueReader wraps the Has and Get method of a backing data store.
|
||||||
type KeyValueReader interface {
|
type KeyValueReader interface {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue