2015-12-26 21:35:15 +03:00
|
|
|
package channeldb
|
2016-03-24 08:11:57 +03:00
|
|
|
|
|
|
|
import "fmt"
|
|
|
|
|
|
|
|
var (
|
2016-06-23 02:17:19 +03:00
|
|
|
ErrNoChanDBExists = fmt.Errorf("channel db has not yet been created")
|
|
|
|
|
2016-06-21 07:39:50 +03:00
|
|
|
ErrNoActiveChannels = fmt.Errorf("no active channels exist")
|
2016-06-23 02:17:19 +03:00
|
|
|
ErrChannelNoExist = fmt.Errorf("this channel does not exist")
|
2016-09-03 04:51:34 +03:00
|
|
|
ErrNoPastDeltas = fmt.Errorf("channel has no recorded deltas")
|
2016-09-17 03:23:37 +03:00
|
|
|
|
2016-09-19 21:46:48 +03: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-10-26 00:04:42 +03:00
|
|
|
|
|
|
|
ErrNodeNotFound = fmt.Errorf("link node with target identity not found")
|
2016-03-24 08:11:57 +03:00
|
|
|
)
|