aboutsummaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-15 14:19:33 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-15 14:19:33 +0530
commitf4051d90a3e0520017020a145c1ccd129bb27aa3 (patch)
tree056da5a42467bca5f4df82fed21d399fe935e838 /errors.go
parentd7cf6b9ed5828d8ca5d1e56adf00ff3fd6a5a4ab (diff)
added validators for updating anime and mangav0.0.3
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/errors.go b/errors.go
index 3c127b6..ad125c2 100644
--- a/errors.go
+++ b/errors.go
@@ -32,4 +32,6 @@ var (
ErrInvalidRereadValue = errors.New("mg: invalid reread value")
ErrEmptySearchString = errors.New("mg: invalid search string (empty string)")
ErrInvalidYear = errors.New("mg: invalid year (not integer)")
+ ErrUnknownUpdateParam = errors.New("mg: unknown update param")
+ ErrAnimeNotInList = errors.New("mg: anime is already not in list")
)