⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
requests
/
__pycache__
/
View File Name :
exceptions.cpython-312.pyc
Hh X d Z ddlmZ ddlmZ G d de Z G d de Z G d d e e Z G d de Z G d de Z G d de Z G d de Z G d de Z G d de e Z G d de Z G d de Z G d de Z G d dee Z G d d ee Z G d! d"ee Z G d# d$ee Z G d% d&e Z G d' d(e Z G d) d*ee Z G d+ d,ee Z G d- d.e Z G d/ d0e Z G d1 d2e Z G d3 d4ee Z! G d5 d6e Z"y7)8z` requests.exceptions ~~~~~~~~~~~~~~~~~~~ This module contains the set of Requests' exceptions. ) HTTPError )JSONDecodeErrorc " e Zd ZdZ fdZ xZS )RequestExceptionzTThere was an ambiguous exception that occurred while handling your request. c |j dd }|| _ |j dd | _ |3| j s't |d r| j j | _ t | |i | y)zBInitialize RequestException with `request` and `response` objects.responseNrequest)popr r hasattrsuper__init__)selfargskwargsr __class__s 5/usr/lib/python3/dist-packages/requests/exceptions.pyr zRequestException.__init__ sd ::j$/ zz)T299U==00DL $)&) )__name__ __module____qualname____doc__r __classcell__)r s @r r r s * *r r c e Zd ZdZy)InvalidJSONErrorzA JSON error occurred.Nr r r r r r r r r r c e Zd ZdZd Zd Zy)r z"Couldn't decode the text into jsonc v t j | g| t j | 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)CompatJSONDecodeErrorr r r )r r r s r r zJSONDecodeError.__init__" s3 &&t3d3!!$==f=r c , t j | 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__)r s r r# zJSONDecodeError.__reduce__, s %//55r N)r r r r r r# r r r r r s ,>6r r c e Zd ZdZy)r zAn HTTP error occurred.Nr r r r r r 7 !r r c e Zd ZdZy)ConnectionErrorzA Connection error occurred.Nr r r r r' r' ; s &r r' c e Zd ZdZy) ProxyErrorzA proxy error occurred.Nr r r r r) r) ? r% r r) c e Zd ZdZy)SSLErrorzAn SSL error occurred.Nr r r r r+ r+ C r r r+ c e Zd ZdZy)TimeoutzThe request timed out. Catching this error will catch both :exc:`~requests.exceptions.ConnectTimeout` and :exc:`~requests.exceptions.ReadTimeout` errors. Nr r r r r- r- G s r r- c e Zd ZdZy)ConnectTimeoutzThe request timed out while trying to connect to the remote server. Requests that produced this error are safe to retry. Nr r r r r/ r/ P s r r/ c e Zd ZdZy)ReadTimeoutz@The server did not send any data in the allotted amount of time.Nr r r r r1 r1 W Jr r1 c e Zd ZdZy)URLRequiredz*A valid URL is required to make a request.Nr r r r r4 r4 [ s 4r r4 c e Zd ZdZy)TooManyRedirectszToo many redirects.Nr r r r r6 r6 _ s r r6 c e Zd ZdZy) MissingSchemaz/The URL scheme (e.g. http or https) is missing.Nr r r r r8 r8 c s 9r r8 c e Zd ZdZy) InvalidSchemaz9The URL scheme provided is either invalid or unsupported.Nr r r r r: r: g s Cr r: c e Zd ZdZy) InvalidURLz%The URL provided was somehow invalid.Nr r r r r<