o
    ~j6hy  ã                   @   s4  d Z G dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG d	d
„ d
eƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZ	G dd„ deƒZ
G dd„ de
ƒZG dd„ deeƒZG dd„ deeƒZG dd„ deeƒZG dd„ deeƒZG dd„ deeƒZG dd „ d eeƒZG d!d"„ d"eƒZG d#d$„ d$eƒZd%S )&z+Exceptions used in the google.auth package.c                       s,   e Zd ZdZ‡ fdd„Zedd„ ƒZ‡  ZS )ÚGoogleAuthErrorz&Base class for all google.auth errors.c                    s&   t t| ƒj|Ž  | dd¡}|| _d S )NÚ	retryableF)Úsuperr   Ú__init__ÚgetÚ
_retryable)ÚselfÚargsÚkwargsr   ©Ú	__class__© úe/var/www/html/chefvision.cloud.itp360.com/venv/lib/python3.10/site-packages/google/auth/exceptions.pyr      s   
zGoogleAuthError.__init__c                 C   s   | j S ©N)r   ©r   r   r   r   r      s   zGoogleAuthError.retryable)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Ú__classcell__r   r   r
   r   r      s
    r   c                   @   ó   e Zd ZdZdS )ÚTransportErrorz:Used to indicate an error occurred during an HTTP request.N©r   r   r   r   r   r   r   r   r      ó    r   c                   @   r   )ÚRefreshErrorzMUsed to indicate that an refreshing the credentials' access token
    failed.Nr   r   r   r   r   r   #   r   r   c                   @   r   )ÚUserAccessTokenErrorzCUsed to indicate ``gcloud auth print-access-token`` command failed.Nr   r   r   r   r   r   (   r   r   c                   @   r   )ÚDefaultCredentialsErrorz;Used to indicate that acquiring default credentials failed.Nr   r   r   r   r   r   ,   r   r   c                   @   r   )ÚMutualTLSChannelErrorzyUsed to indicate that mutual TLS channel creation is failed, or mutual
    TLS channel credentials is missing or invalid.Nr   r   r   r   r   r   0   r   r   c                   @   s   e Zd ZdZedd„ ƒZdS )ÚClientCertErrorz?Used to indicate that client certificate is missing or invalid.c                 C   s   dS )NFr   r   r   r   r   r   8   s   zClientCertError.retryableN)r   r   r   r   r   r   r   r   r   r   r   5   s    r   c                   @   r   )Ú
OAuthErrorzLUsed to indicate an error occurred during an OAuth related HTTP
    request.Nr   r   r   r   r   r   =   r   r   c                       s"   e Zd ZdZd‡ fdd„	Z‡  ZS )ÚReauthFailErrorz$An exception for when reauth failed.Nc                    s"   t t| ƒjd |¡fi |¤Ž d S )NzReauthentication failed. {0})r   r    r   Úformat)r   Úmessager	   r
   r   r   r   E   s
   
ÿ
ÿzReauthFailError.__init__r   )r   r   r   r   r   r   r   r   r
   r   r    B   s    r    c                   @   r   )ÚReauthSamlChallengeFailErrorz0An exception for SAML reauth challenge failures.Nr   r   r   r   r   r#   K   r   r#   c                   @   r   )ÚMalformedErrorz An exception for malformed data.Nr   r   r   r   r   r$   O   r   r$   c                   @   r   )ÚInvalidResourcezAn exception for URL error.Nr   r   r   r   r   r%   S   r   r%   c                   @   r   )ÚInvalidOperationz#An exception for invalid operation.Nr   r   r   r   r   r&   W   r   r&   c                   @   r   )ÚInvalidValuez*Used to wrap general ValueError of python.Nr   r   r   r   r   r'   [   r   r'   c                   @   r   )ÚInvalidTypez)Used to wrap general TypeError of python.Nr   r   r   r   r   r(   _   r   r(   c                   @   r   )ÚOSErrorz7Used to wrap EnvironmentError(OSError after python3.3).Nr   r   r   r   r   r)   c   r   r)   c                   @   r   )ÚTimeoutErrorzAUsed to indicate a timeout error occurred during an HTTP request.Nr   r   r   r   r   r*   g   r   r*   c                   @   r   )ÚResponseErrorzAUsed to indicate an error occurred when reading an HTTP response.Nr   r   r   r   r   r+   k   r   r+   N)r   Ú	Exceptionr   r   r   r   r   r   r   r   r    r#   Ú
ValueErrorr$   r%   r&   r'   Ú	TypeErrorr(   ÚEnvironmentErrorr)   r*   r+   r   r   r   r   Ú<module>   s&   	