aboutsummaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/errors.go b/errors.go
new file mode 100644
index 0000000..2d4ed02
--- /dev/null
+++ b/errors.go
@@ -0,0 +1,13 @@
+package main
+
+import (
+ "errors"
+)
+
+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")
+)