2015-12-26 12:35:15 -06:00
|
|
|
package channeldb
|
2016-03-23 22:11:57 -07:00
|
|
|
|
|
|
|
import "fmt"
|
|
|
|
|
|
|
|
var (
|
2016-06-22 16:17:19 -07:00
|
|
|
ErrNoChanDBExists = fmt.Errorf("channel db has not yet been created")
|
|
|
|
|
2016-06-20 21:39:50 -07:00
|
|
|
ErrNoActiveChannels = fmt.Errorf("no active channels exist")
|
2016-06-22 16:17:19 -07:00
|
|
|
ErrChannelNoExist = fmt.Errorf("this channel does not exist")
|
2016-09-02 18:51:34 -07:00
|
|
|
ErrNoPastDeltas = fmt.Errorf("channel has no recorded deltas")
|
2016-09-16 17:23:37 -07:00
|
|
|
|
2016-09-19 11:46:48 -07:00
|
|
|
ErrInvoiceNotFound = fmt.Errorf("unable to locate invoice")
|
|
|
|
ErrNoInvoicesCreated = fmt.Errorf("there are no existing invoices")
|
|
|
|
ErrDuplicateInvoice = fmt.Errorf("invoice with payment hash already exists")
|
2016-03-23 22:11:57 -07:00
|
|
|
)
|