Files
witness-fracture/.venv/lib/python3.12/site-packages/requests/__pycache__/exceptions.cpython-312.pyc
T

40 lines
7.4 KiB
Plaintext
Raw Normal View History

2025-06-23 17:55:02 -05:00
Ë
Œ»Yh¤ãóX—dZddlmZddlmZGd„de«ZGd„de«Z Gd „d
e e«ZGd „d e«ZGd
„de«Z
Gd„de
«Z Gd„de
«Z Gd„de«Z
Gd„de
e
«ZGd„de
«ZGd„de«ZGd„de«ZGd„dee«ZGd„d ee«ZGd!„d"ee«ZGd#„d$ee«ZGd%„d&e«ZGd'„d(e«ZGd)„d*ee«ZGd+„d,ee«ZGd-„d.e«ZGd/„d0e«ZGd1„d2e«ZGd3„d4ee «Z!Gd5„d6e«Z"y7)8z`
requests.exceptions
~~~~~~~~~~~~~~~~~~~
This module contains the set of Requests' exceptions.
é)Ú HTTPErroré)ÚJSONDecodeErrorcó"‡—eZdZdZˆfd„ZˆxZS)ÚRequestExceptionzTThere was an ambiguous exception that occurred while handling your
request.
cóî•—|jdd«}||_|jdd«|_|�3|js't|d«r|jj|_t ‰|�|i|¤Žy)zBInitialize RequestException with `request` and `response` objects.ÚresponseNÚrequest)Úpopr r
ÚhasattrÚsuperÚ__init__)ÚselfÚargsÚkwargsr Ú __class__s €ú\/mnt/c/fieldcraft/witness-fracture/.venv/lib/python3.12/site-packages/requests/exceptions.pyrzRequestException.__init__sdø€à—:‘:˜j¨$Ó/ˆØ ˆŒ
Ø—z‘z )¨TÓ2ˆŒ Ø Ð ¨¯ ª ¼ÀÈ9Ô9UØŸ=™=×0Ñ0ˆDŒLÜ
‰Ñ˜$Ð) &Ó)ó)Ú__name__Ú
__module__Ú __qualname__Ú__doc__rÚ
__classcell__)rs@rrr sø„ñ÷*ð*rrcó—eZdZdZy)ÚInvalidJSONErrorzA JSON error occurred.N©rrrr©rrrró„Ú rrcó—eZdZdZd„Zd„Zy)rz"Couldn't decode the text into jsoncóv—tj|g|¢­Žtj|g|j¢­i|¤Žy)a
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.
N)ÚCompatJSONDecodeErrorrrr)rrrs rrzJSONDecodeError.__init__"s3€ô ×&Ñ& tÐ3¨dÓ3Ü×!Ñ! $Ð=¨¯©Ò=°fÓ=rcó,—tj|«S)aa
The __reduce__ method called when pickling the object must
be the one from the JSONDecodeError (be it json/simplejson)
as it expects all the arguments for instantiation, not just
one like the IOError, and the MRO would by default call the
__reduce__ method from the IOError due to the inheritance order.
)r!Ú
__reduce__)rs rr#zJSONDecodeError.__reduce__,s€ô%×/Ñ/°Ó5Ð5rN)rrrrrr#rrrrrs„Ù,ò>ó6rrcó—eZdZdZy)rzAn HTTP error occurred.Nrrrrrr7ó„Ú!rrcó—eZdZdZy)ÚConnectionErrorzA Connection error occurred.Nrrrrr'r';s„Ú&rr'có—eZdZdZy)Ú
ProxyErrorzA proxy error occurred.Nrrrrr)r)?r%rr)có—eZdZdZy)ÚSSLErrorzAn SSL error occurred.Nrrrrr+r+Crrr+có—eZdZdZy)ÚTimeoutz«The request timed out.
Catching this error will catch both
:exc:`~requests.exceptions.ConnectTimeout` and
:exc:`~requests.exceptions.ReadTimeout` errors.