diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-08-15 14:19:33 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-08-15 14:19:33 +0530 |
commit | f4051d90a3e0520017020a145c1ccd129bb27aa3 (patch) | |
tree | 056da5a42467bca5f4df82fed21d399fe935e838 /errors.go | |
parent | d7cf6b9ed5828d8ca5d1e56adf00ff3fd6a5a4ab (diff) |
added validators for updating anime and mangav0.0.3
Diffstat (limited to 'errors.go')
-rw-r--r-- | errors.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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") ) |