aboutsummaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go12
1 files changed, 7 insertions, 5 deletions
diff --git a/errors.go b/errors.go
index 2d4ed02..c8b053f 100644
--- a/errors.go
+++ b/errors.go
@@ -5,9 +5,11 @@ import (
)
var (
- ErrEmptyMessage = errors.New("empty message")
- ErrIllegalByte = errors.New("illegal byte")
- ErrTagsTooLong = errors.New("tags too long")
- ErrInvalidTagContent = errors.New("invalid tag content")
- ErrBodyTooLong = errors.New("body too long")
+ ErrEmptyMessage = errors.New("empty message")
+ ErrIllegalByte = errors.New("illegal byte")
+ ErrTagsTooLong = errors.New("tags too long")
+ ErrInvalidTagContent = errors.New("invalid tag content")
+ ErrBodyTooLong = errors.New("body too long")
+ ErrNotConnectedServer = errors.New("not connected server")
+ ErrSendToSelf = errors.New("attempt to send message to self")
)