Exceptions
pyanilist
doesn't raise any custom exceptions of it's own. The two most likely errors you'll encounter will be either of these:
pyanilist.HTTPStatusError
- Alias forhttpx.HTTPStatusError
. Raised if a request returns a non 2xx status code.pyanilist.ValidationError
- Alias forpydantic.ValidationError
. Raised if an input is invalid.