aboutsummaryrefslogtreecommitdiff
path: root/errors
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-02 23:20:25 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-02 23:20:25 +0530
commit65cb3603ad2682deacff47a72d9050e584a00488 (patch)
treed13e81b8b84931e894f505775c6353747c92d17c /errors
parent7f12e4fa01a2bf3ab25844f3d73af67881a587f1 (diff)
changed unique username error message
Diffstat (limited to 'errors')
-rw-r--r--errors/errors.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/errors/errors.go b/errors/errors.go
index dd307e5..d52004e 100644
--- a/errors/errors.go
+++ b/errors/errors.go
@@ -44,7 +44,7 @@ var (
ErrNonUniqueGSTIN = errors.New("GSTIN Must Be Unique")
ErrNonUniquePhone = errors.New("Phone Number Must Be Unique")
ErrNonUniqueEmail = errors.New("Email Address Must Be Unique")
- ErrNonUniqueUsername = errors.New("Email Address Must Be Unique")
+ ErrNonUniqueUsername = errors.New("Username Must Be Unique")
ErrNonUniqueWebsite = errors.New("Website Must Be Unique")
ErrNonUniqueBrandName = errors.New("Brand Name Must Be Unique")
ErrNonUniqueBrandItem = errors.New("Item With Same Name And Brand Already Exists")