aboutsummaryrefslogtreecommitdiff
path: root/errors/errors.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-03 22:29:46 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-03 22:29:46 +0530
commit46083ff15e16b0b49132af9466bcab7c2ae71322 (patch)
treebc29d36293c459342c90d6f89b19c8be666ed327 /errors/errors.go
parent620fb2f89b5acd70af4ed075b4797f81a3f1d109 (diff)
validating phone number and websitev0.0.4
Diffstat (limited to 'errors/errors.go')
-rw-r--r--errors/errors.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/errors/errors.go b/errors/errors.go
index 77d4d8c..3f1efc5 100644
--- a/errors/errors.go
+++ b/errors/errors.go
@@ -31,6 +31,8 @@ var (
ErrEmptyContactName = errors.New("Contact Name Cannot Be Empty")
ErrInvalidGSTIN = errors.New("Invalid GSTIN")
ErrInvalidEmail = errors.New("Invalid E-Mail Address")
+ ErrInvalidPhone = errors.New("Invalid Phone Number")
+ ErrInvalidWebsite = errors.New("Invalid Website URL")
ErrEmptyBrandName = errors.New("Brand Name Cannot Be Empty")
ErrInvalidUnitPrice = errors.New("Invalid Unit Price")
ErrInvalidGSTPercentage = errors.New("Invalid GST Percentage")