Exception classes Documentation¶
Exceptions¶
RequestError
¶
Bases: Exception
Raised when there is an error in the request response.
PARAMETER | DESCRIPTION |
---|---|
errors |
A string or list of strings representing the error(s) encountered during the request.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
None
|
This method doesn't return anything, it initializes the object.
TYPE:
|
Source code in AniLinkPy/exceptions.py
UnsupportedMethodError
¶
Bases: Exception
Raised when an unsupported method is provided to the send_request function.
PARAMETER | DESCRIPTION |
---|---|
method |
The unsupported HTTP method.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
None
|
This method doesn't return anything.
TYPE:
|