diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-09-03 22:08:12 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-09-03 22:08:12 +0530 |
commit | 620fb2f89b5acd70af4ed075b4797f81a3f1d109 (patch) | |
tree | 191bbadfbe77fb71342853b85649b4ee5cb3c2bb /errors | |
parent | c6bc8d0c6d1c1ab5d26b9e47e0248002d22ecf8f (diff) |
validating email addressesv0.0.3
Diffstat (limited to 'errors')
-rw-r--r-- | errors/errors.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/errors/errors.go b/errors/errors.go index 6716fdc..77d4d8c 100644 --- a/errors/errors.go +++ b/errors/errors.go @@ -30,6 +30,7 @@ var ( ErrInvalidID = errors.New("Invalid ID") ErrEmptyContactName = errors.New("Contact Name Cannot Be Empty") ErrInvalidGSTIN = errors.New("Invalid GSTIN") + ErrInvalidEmail = errors.New("Invalid E-Mail Address") ErrEmptyBrandName = errors.New("Brand Name Cannot Be Empty") ErrInvalidUnitPrice = errors.New("Invalid Unit Price") ErrInvalidGSTPercentage = errors.New("Invalid GST Percentage") |