aboutsummaryrefslogtreecommitdiff
path: root/internal/stupidgcm/autherr.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/stupidgcm/autherr.go')
-rw-r--r--internal/stupidgcm/autherr.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/stupidgcm/autherr.go b/internal/stupidgcm/autherr.go
new file mode 100644
index 0000000..e59f92e
--- /dev/null
+++ b/internal/stupidgcm/autherr.go
@@ -0,0 +1,8 @@
+package stupidgcm
+
+import (
+ "fmt"
+)
+
+// ErrAuth is returned when the message authentication fails
+var ErrAuth = fmt.Errorf("stupidgcm: message authentication failed")