AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3/dist-packages/lazr/restfulclient/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /usr/lib/python3/dist-packages/lazr/restfulclient/__pycache__/errors.cpython-310.pyc
o

�3�O��@s�dZeZgd�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd	�d	e�ZGd
d�de�Z	Gdd
�d
e�Z
Gdd�de
�ZGdd�de�ZGdd�de�Z
Gdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de
�Zdd�Zd S)!zlazr.restfulclient errors.)�
BadRequest�Conflict�ClientError�CredentialsError�CredentialsFileError�	HTTPError�MethodNotAllowed�NotFound�PreconditionFailed�RestfulError�
ResponseError�ServerError�Unauthorized�UnexpectedResponseErrorc@�eZdZdZdS)r
z2Base error for the lazr.restfulclient API library.N��__name__�
__module__�__qualname__�__doc__�rr�;/usr/lib/python3/dist-packages/lazr/restfulclient/errors.pyr
(�r
c@r)rz&Base credentials/authentication error.Nrrrrrr,rrc@r)rzError in credentials file.Nrrrrrr0rrc@�eZdZdZdd�ZdS)rzError in response.cCst�|�||_||_dS)N)r
�__init__�response�content)�selfrrrrrr7s

zResponseError.__init__N)rrrrrrrrrr4�rc@r)rz$An unexpected response was received.cCsd|jj|jjfS)N�%s: %s)r�status�reason)rrrr�__str__@szUnexpectedResponseError.__str__N�rrrrr!rrrrr=rrc@r)rz+An HTTP non-2xx response code was received.cCs8d�dd�t|j���D��}d|jj|jj||jfS)z9Show the error code, response headers, and response body.�
cSsg|]}d|�qS)rr)�.0�pairrrr�
<listcomp>Is�z%HTTPError.__str__.<locals>.<listcomp>zIHTTP Error %s: %s
Response headers:
---
%s
---
Response body:
---
%s
---
)�join�sortedr�itemsrr r)r�headersrrrr!Gs
���zHTTPError.__str__Nr"rrrrrDrrc@r)rz.An exception representing a client-side error.NrrrrrrQrrc@r)r
z4An exception representing an authentication failure.Nrrrrrr
Urr
c@r)rz1An exception representing a nonexistent resource.NrrrrrrYrrc@r)rz�An exception raised when you use an unsupported HTTP method.

    This is most likely because you tried to delete a resource that
    can't be deleted.
    Nrrrrrr]rrc@r)rz:An exception representing a problem with a client request.Nrrrrrrerrc@r)rz9An exception representing a conflict with another client.Nrrrrrrirrc@r)r	z�An exception representing the failure of a conditional PUT/PATCH.

    The most likely explanation is that another client changed this
    object while you were working on it, and your version of the
    object is now out of date.
    Nrrrrrr	mrr	c@r)rz.An exception representing a server-side error.NrrrrrrurrcCsjttttttd�}|jddkrdS|�|jt�}|tur0|jddkr't	}n	|jddkr0t
}|||�S)z�Turn an HTTP response into an HTTPError subclass.

    :return: None if the response code is 1xx, 2xx or 3xx. Otherwise,
    an instance of an appropriate HTTPError subclass (or HTTPError
    if nothing else is appropriate.
    )i�i�i�i�i�i��d�N��)rr
rrrr	r�getrrr)rr�http_errors_by_status_code�clsrrr�	error_forys �	
r2N)r�type�
__metaclass__�__all__�	Exceptionr
rrrrrrr
rrrrr	rr2rrrr�<module>s$	


Anon7 - 2022
AnonSec Team