mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 23:21:12 +02:00
kvdb: add make specific error available in kvdb package
This commit is contained in:
@@ -157,4 +157,8 @@ var (
|
|||||||
// ErrDatabaseNotOpen is returned when a database instance is accessed
|
// ErrDatabaseNotOpen is returned when a database instance is accessed
|
||||||
// before it is opened or after it is closed.
|
// before it is opened or after it is closed.
|
||||||
ErrDatabaseNotOpen = walletdb.ErrDbNotOpen
|
ErrDatabaseNotOpen = walletdb.ErrDbNotOpen
|
||||||
|
|
||||||
|
// ErrDbDoesNotExist is returned when a database instance is opened
|
||||||
|
// but it does not exist.
|
||||||
|
ErrDbDoesNotExist = walletdb.ErrDbDoesNotExist
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user