Change Tx to transaction in user facing error.
This commit is contained in:
parent
64568826f1
commit
5882b3c79a
1 changed files with 2 additions and 1 deletions
3
db.go
3
db.go
|
@ -10,9 +10,10 @@ import (
|
||||||
"github.com/conformal/btcwire"
|
"github.com/conformal/btcwire"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Errors that the various database functions may return.
|
||||||
var (
|
var (
|
||||||
PrevShaMissing = errors.New("Previous sha missing from database")
|
PrevShaMissing = errors.New("Previous sha missing from database")
|
||||||
TxShaMissing = errors.New("Requested Tx does not exist")
|
TxShaMissing = errors.New("Requested transaction does not exist")
|
||||||
DuplicateSha = errors.New("Duplicate insert attempted")
|
DuplicateSha = errors.New("Duplicate insert attempted")
|
||||||
DbDoesNotExist = errors.New("Non-existent database")
|
DbDoesNotExist = errors.New("Non-existent database")
|
||||||
DbUnknownType = errors.New("Non-existent database type")
|
DbUnknownType = errors.New("Non-existent database type")
|
||||||
|
|
Loading…
Reference in a new issue