From 7f12e4fa01a2bf3ab25844f3d73af67881a587f1 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 2 Sep 2023 23:12:52 +0530 Subject: added sign-in --- errors/errors.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'errors/errors.go') diff --git a/errors/errors.go b/errors/errors.go index 08d8a4c..dd307e5 100644 --- a/errors/errors.go +++ b/errors/errors.go @@ -33,6 +33,8 @@ var ( ErrEmptyBrandName = errors.New("Brand Name Cannot Be Empty") ErrInvalidUnitPrice = errors.New("Invalid Unit Price") ErrInvalidGSTPercentage = errors.New("Invalid GST Percentage") + ErrPasswordTooShort = errors.New("Password Is Too Short") + ErrPasswordTooLong = errors.New("Password Is Too Long") // 404 ErrNotFound = errors.New("Not Found") @@ -42,6 +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") 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") -- cgit v1.2.3