a
    w=icþ  ã                   @   s¨   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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__© úg/home/droni/.local/share/virtualenvs/DPS-5Je3_V2c/lib/python3.9/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                   @   s   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      s   r   c                   @   s   e Zd ZdZdS )ÚRefreshErrorzMUsed to indicate that an refreshing the credentials' access token
    failed.Nr   r   r   r   r   r   #   s   r   c                   @   s   e Zd ZdZdS )ÚUserAccessTokenErrorzCUsed to indicate ``gcloud auth print-access-token`` command failed.Nr   r   r   r   r   r   (   s   r   c                   @   s   e Zd ZdZdS )ÚDefaultCredentialsErrorz;Used to indicate that acquiring default credentials failed.Nr   r   r   r   r   r   ,   s   r   c                   @   s   e Zd ZdZdS )Ú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   s   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                   @   s   e Zd ZdZdS )Ú
OAuthErrorzLUsed to indicate an error occurred during an OAuth related HTTP
    request.Nr   r   r   r   r   r   =   s   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__)N)r   r   r   r   r   r   r   r   r
   r   r   B   s   r   c                   @   s   e Zd ZdZdS )ÚReauthSamlChallengeFailErrorz0An exception for SAML reauth challenge failures.Nr   r   r   r   r   r    K   s   r    N)r   Ú	Exceptionr   r   r   r   r   r   r   r   r   r    r   r   r   r   Ú<module>   s   	