aboutsummaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go29
1 files changed, 15 insertions, 14 deletions
diff --git a/errors.go b/errors.go
index ad125c2..ad5b58c 100644
--- a/errors.go
+++ b/errors.go
@@ -20,18 +20,19 @@ package mg
import "errors"
var (
- ErrLimitOutOfRange = errors.New("mg: invalid limit (out of range)")
- ErrInvalidField = errors.New("mg: invalid field passed")
- ErrInvalidRankingType = errors.New("mg: invalid ranking type")
- ErrInvalidSeason = errors.New("mg: invalid season")
- ErrInvalidSort = errors.New("mg: invalid sort")
- ErrInvalidStatus = errors.New("mg: invalid status")
- ErrInvalidScore = errors.New("mg: invalid score")
- ErrInvalidPriority = errors.New("mg: invalid priority")
- 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)")
- ErrUnknownUpdateParam = errors.New("mg: unknown update param")
- ErrAnimeNotInList = errors.New("mg: anime is already not in list")
+ ErrLimitOutOfRange = errors.New("mg: invalid limit (out of range)")
+ ErrInvalidField = errors.New("mg: invalid field passed")
+ ErrInvalidRankingType = errors.New("mg: invalid ranking type")
+ ErrInvalidSeason = errors.New("mg: invalid season")
+ ErrInvalidSort = errors.New("mg: invalid sort")
+ ErrInvalidStatus = errors.New("mg: invalid status")
+ ErrInvalidScore = errors.New("mg: invalid score")
+ ErrInvalidPriority = errors.New("mg: invalid priority")
+ 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)")
+ ErrUnknownUpdateParam = errors.New("mg: unknown update param")
+ ErrAnimeNotInList = errors.New("mg: anime is already not in list")
+ ErrClientAuthNotSupported = errors.New("mg: function does not support client auth")
)