Replace bad file type error with constant
Syfaro syfaro@foxpaw.in
Sun, 03 Jan 2016 22:49:58 -0600
2 files changed,
7 insertions(+),
1 deletions(-)
M
configs.go
→
configs.go
@@ -39,6 +39,12 @@ const (
ModeMarkdown = "Markdown" ) +// Library errors +const ( + // ErrBadFileType happens when you pass an unknown type + ErrBadFileType = "bad file type" +) + // Chattable is any config type that can be sent. type Chattable interface { values() (url.Values, error)