"""
requests.exceptions
~~~~~~~~~~~~~~~~~~~
This module contains the set of Requests' exceptions.
"""
"""There was an ambiguous exception that occurred while handling your
request.
"""
"""Initialize RequestException with `request` and `response` objects."""
=
=
=
=
"""A JSON error occurred."""
"""Couldn't decode the text into json"""
"""
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.
"""
"""An HTTP error occurred."""
"""A Connection error occurred."""
"""A proxy error occurred."""
"""An SSL error occurred."""
"""The request timed out.
Catching this error will catch both
:exc:`~requests.exceptions.ConnectTimeout` and
:exc:`~requests.exceptions.ReadTimeout` errors.
"""
"""The request timed out while trying to connect to the remote server.
Requests that produced this error are safe to retry.
"""
"""The server did not send any data in the allotted amount of time."""
"""A valid URL is required to make a request."""
"""Too many redirects."""
"""The URL scheme (e.g. http or https) is missing."""
"""The URL scheme provided is either invalid or unsupported."""
"""The URL provided was somehow invalid."""
"""The header value provided was somehow invalid."""
"""The proxy URL provided is invalid."""
"""The server declared chunked encoding but sent an invalid chunk."""
"""Failed to decode response content."""
"""The content for this response was already consumed."""
"""Custom retries logic failed"""
"""Requests encountered an error when trying to rewind a body."""
# Warnings
"""Base warning for Requests."""
"""A file was opened in text mode, but Requests determined its binary length."""
"""An imported dependency doesn't match the expected version range."""