aboutsummaryrefslogtreecommitdiffstatshomepage
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 de18bf4..3c37e08 100644
--- a/errors/errors.go
+++ b/errors/errors.go
@@ -44,6 +44,7 @@ var (
ErrUsernameTooShort = errors.New("Username Is Too Short")
ErrUsernameTooLong = errors.New("Username Is Too Long")
ErrInvalidLoginMethod = errors.New("Login Method Can Only Be 'email' Or 'username'")
+ ErrNoItemVariants = errors.New("An item should have at least one variant")
// 401
ErrWrongPassword = errors.New("Wrong Password")