aboutsummaryrefslogtreecommitdiff
path: root/errors/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'errors/errors.go')
-rw-r--r--errors/errors.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/errors/errors.go b/errors/errors.go
index 3f1efc5..b5f4f63 100644
--- a/errors/errors.go
+++ b/errors/errors.go
@@ -38,6 +38,7 @@ var (
ErrInvalidGSTPercentage = errors.New("Invalid GST Percentage")
ErrPasswordTooShort = errors.New("Password Is Too Short")
ErrPasswordTooLong = errors.New("Password Is Too Long")
+ ErrInvalidLoginMethod = errors.New("Login Method Can Only Be 'email' Or 'username'")
// 401
ErrWrongPassword = errors.New("Wrong Password")