diff --git a/db.go b/db.go index d7e5b4d8..8d8aaf38 100644 --- a/db.go +++ b/db.go @@ -10,9 +10,10 @@ import ( "github.com/conformal/btcwire" ) +// Errors that the various database functions may return. var ( 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") DbDoesNotExist = errors.New("Non-existent database") DbUnknownType = errors.New("Non-existent database type")