summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/keybase/go-keybase-chat-bot/kbchat/errors.go')
-rw-r--r--vendor/github.com/keybase/go-keybase-chat-bot/kbchat/errors.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/errors.go b/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/errors.go
index 2b8e929d..1d1e6315 100644
--- a/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/errors.go
+++ b/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/errors.go
@@ -1,9 +1,14 @@
package kbchat
-import "fmt"
+import (
+ "errors"
+ "fmt"
+)
type ErrorCode int
+var errAPIDisconnected = errors.New("chat API disconnected")
+
const (
RevisionErrorCode ErrorCode = 2760
DeleteNonExistentErrorCode ErrorCode = 2762