aboutsummaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-15 13:49:44 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-15 13:49:44 +0530
commitd7cf6b9ed5828d8ca5d1e56adf00ff3fd6a5a4ab (patch)
tree22d18647770423d335d000e0af3d933b39472278 /errors.go
parent9b3d6d0ec5ecb9d73b518d786a22cb3ff7f3768f (diff)
checking if season year is int or notv0.0.2
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/errors.go b/errors.go
index d2b2828..3c127b6 100644
--- a/errors.go
+++ b/errors.go
@@ -31,4 +31,5 @@ var (
ErrInvalidRewatchValue = errors.New("mg: invalid rewatch value")
ErrInvalidRereadValue = errors.New("mg: invalid reread value")
ErrEmptySearchString = errors.New("mg: invalid search string (empty string)")
+ ErrInvalidYear = errors.New("mg: invalid year (not integer)")
)