exception documentation
class JSONDecodeError(InvalidJSONError, CompatJSONDecodeError): (source)
Couldn't decode the text into json
Method | __init__ |
Construct the JSONDecodeError instance first with all args. Then use it's args to construct the IOError so that the json specific args aren't used as IOError specific args and the error message from JSONDecodeError is preserved. |
Inherited from RequestException
(via InvalidJSONError
):
Instance Variable | request |
Undocumented |
Instance Variable | response |
Undocumented |