
                         t   S r  " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S	 S
\5      r " S S\5      r " S S\5      r " S S\5      r	 " S S\5      r
 " S S\
5      r " S S\\5      r " S S\\5      r " S S\\5      r " S S\\5      r " S S\\5      r " S S \\5      rg!)"z+Exceptions used in the google.auth package.c                   <   ^  \ rS rSrSrU 4S jr\S 5       rSrU =r	$ )GoogleAuthError   z&Base class for all google.auth errors.c                 X   > [         [        U ]
  " U6   UR                  SS5      nX0l        g )N	retryableF)superr   __init__get
_retryable)selfargskwargsr   	__class__s       1platform/bq/third_party/google/auth/exceptions.pyr   GoogleAuthError.__init__   s'    ot-t4JJ{E2	#    c                     U R                   $ Nr
   r   s    r   r   GoogleAuthError.retryable   s    r   r   )
__name__
__module____qualname____firstlineno____doc__r   propertyr   __static_attributes____classcell__r   s   @r   r   r      s    0$
  r   r   c                       \ rS rSrSrSrg)TransportError    z:Used to indicate an error occurred during an HTTP request. Nr   r   r   r   r   r   r#   r   r   r!   r!       s    Dr   r!   c                       \ rS rSrSrSrg)RefreshError$   zIUsed to indicate that an refreshing the credentials' access token
failed.r#   Nr$   r#   r   r   r&   r&   $   s    r   r&   c                       \ rS rSrSrSrg)UserAccessTokenError)   zCUsed to indicate ``gcloud auth print-access-token`` command failed.r#   Nr$   r#   r   r   r)   r)   )   s    Mr   r)   c                       \ rS rSrSrSrg)DefaultCredentialsError-   z;Used to indicate that acquiring default credentials failed.r#   Nr$   r#   r   r   r,   r,   -   s    Er   r,   c                       \ rS rSrSrSrg)MutualTLSChannelError1   zuUsed to indicate that mutual TLS channel creation is failed, or mutual
TLS channel credentials is missing or invalid.r#   Nr$   r#   r   r   r/   r/   1   s    6r   r/   c                   (    \ rS rSrSr\S 5       rSrg)ClientCertError6   z?Used to indicate that client certificate is missing or invalid.c                     g)NFr#   r   s    r   r   ClientCertError.retryable9   s    r   r#   N)r   r   r   r   r   r   r   r   r#   r   r   r2   r2   6   s    I r   r2   c                       \ rS rSrSrSrg)
OAuthError>   zHUsed to indicate an error occurred during an OAuth related HTTP
request.r#   Nr$   r#   r   r   r7   r7   >   s    r   r7   c                   0   ^  \ rS rSrSrSU 4S jjrSrU =r$ )ReauthFailErrorC   z$An exception for when reauth failed.c                 N   > [         [        U ]
  " SR                  U5      40 UD6  g )NzReauthentication failed. {0})r   r:   r   format)r   messager   r   s      r   r   ReauthFailError.__init__F   s(    ot-*11':	
>D	
r   r#   r   )r   r   r   r   r   r   r   r   r   s   @r   r:   r:   C   s    .
 
r   r:   c                       \ rS rSrSrSrg)ReauthSamlChallengeFailErrorL   z0An exception for SAML reauth challenge failures.r#   Nr$   r#   r   r   rA   rA   L   s    :r   rA   c                       \ rS rSrSrSrg)MalformedErrorP   z An exception for malformed data.r#   Nr$   r#   r   r   rD   rD   P   s    *r   rD   c                       \ rS rSrSrSrg)InvalidResourceT   zAn exception for URL error.r#   Nr$   r#   r   r   rG   rG   T   s    %r   rG   c                       \ rS rSrSrSrg)InvalidOperationX   z#An exception for invalid operation.r#   Nr$   r#   r   r   rJ   rJ   X   s    -r   rJ   c                       \ rS rSrSrSrg)InvalidValue\   z*Used to wrap general ValueError of python.r#   Nr$   r#   r   r   rM   rM   \   s    4r   rM   c                       \ rS rSrSrSrg)InvalidType`   z)Used to wrap general TypeError of python.r#   Nr$   r#   r   r   rP   rP   `   s    3r   rP   c                       \ rS rSrSrSrg)OSErrord   z7Used to wrap EnvironmentError(OSError after python3.3).r#   Nr$   r#   r   r   rS   rS   d   s    Ar   rS   N)r   	Exceptionr   r!   r&   r)   r,   r/   r2   r7   r:   rA   
ValueErrorrD   rG   rJ   rM   	TypeErrorrP   EnvironmentErrorrS   r#   r   r   <module>rY      s     2
i 
E_ E? 
N? NFo F6O 6
o  

l 
;? ;+,j +&-z &..
 .5*J 54)9 4B%'7 Br   