2015-12-26 19:35:15 +01:00
|
|
|
package channeldb
|
2016-03-24 06:11:57 +01:00
|
|
|
|
|
|
|
import "fmt"
|
|
|
|
|
|
|
|
var (
|
2016-12-14 05:48:49 +01:00
|
|
|
ErrNoChanDBExists = fmt.Errorf("channel db has not yet been created")
|
|
|
|
ErrLinkNodesNotFound = fmt.Errorf("no link nodes exist")
|
2016-06-23 01:17:19 +02:00
|
|
|
|
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
|
|
|
|
2016-12-05 12:59:36 +01:00
|
|
|
ErrNoPaymentsCreated = fmt.Errorf("there are no existing payments")
|
|
|
|
|
2016-10-25 23:04:42 +02:00
|
|
|
ErrNodeNotFound = fmt.Errorf("link node with target identity not found")
|
2016-12-08 07:47:01 +01:00
|
|
|
ErrMetaNotFound = fmt.Errorf("unable to locate meta information")
|
|
|
|
|
|
|
|
ErrGraphNotFound = fmt.Errorf("graph bucket not initialized")
|
|
|
|
ErrGraphNodesNotFound = fmt.Errorf("no graph nodes exist")
|
|
|
|
ErrGraphNoEdgesFound = fmt.Errorf("no graph edges exist")
|
|
|
|
ErrGraphNodeNotFound = fmt.Errorf("unable to find node")
|
2016-12-20 01:58:27 +01:00
|
|
|
ErrGraphNeverPruned = fmt.Errorf("graph never pruned")
|
2016-12-08 07:47:01 +01:00
|
|
|
|
|
|
|
ErrEdgeNotFound = fmt.Errorf("edge for chanID not found")
|
|
|
|
|
|
|
|
ErrNodeAliasNotFound = fmt.Errorf("alias for node not found")
|
|
|
|
|
|
|
|
ErrSourceNodeNotSet = fmt.Errorf("source node does not exist")
|
2016-03-24 06:11:57 +01:00
|
|
|
)
|