aboutsummaryrefslogtreecommitdiff
path: root/models/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/errors.go')
-rw-r--r--models/errors.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/models/errors.go b/models/errors.go
new file mode 100644
index 0000000..660fe85
--- /dev/null
+++ b/models/errors.go
@@ -0,0 +1,9 @@
+package models
+
+import "errors"
+
+var (
+ ErrInvalidUserOrPassword = errors.New("invalid user or password")
+ ErrUserAlreadyExists = errors.New("user already exists")
+ ErrInvalidPassword = errors.New("invalid password")
+)