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