channeldb: add doc strings to finalize funcs/structs

This commit is contained in:
Olaoluwa Osuntokun
2016-06-22 16:17:19 -07:00
parent f1f27b2046
commit 210c32d890
2 changed files with 21 additions and 8 deletions

View File

@@ -3,6 +3,8 @@ package channeldb
import "fmt"
var (
ErrNoExists = fmt.Errorf("channel db has not yet been created")
ErrNoChanDBExists = fmt.Errorf("channel db has not yet been created")
ErrNoActiveChannels = fmt.Errorf("no active channels exist")
ErrChannelNoExist = fmt.Errorf("this channel does not exist")
)