
    ph                         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g)z?
Defines exceptions that are thrown by the Google Maps client.
c                   (    \ rS rSrSrSS jrS rSrg)ApiError   z3Represents an exception returned by the remote API.Nc                     Xl         X l        g N)statusmessage)selfr   r   s      mC:\Users\julio\OneDrive\Documentos\Trabajo\IdeasFrscas\Cabanna\env\Lib\site-packages\googlemaps/exceptions.py__init__ApiError.__init__   s        c                     U R                   c  [        U R                  5      $ U R                  < SU R                   < S3$ )Nz ())r   strr   r	   s    r
   __str__ApiError.__str__   s.    <<t{{## $T\\::r   )r   r   r   __name__
__module____qualname____firstlineno____doc__r   r   __static_attributes__ r   r
   r   r      s    =;r   r   c                   (    \ rS rSrSrSS jrS rSrg)TransportError"   z9Something went wrong while trying to execute the request.Nc                     Xl         g r   base_exception)r	   r!   s     r
   r   TransportError.__init__%   s    ,r   c                 P    U R                   (       a  [        U R                   5      $ g)NzAn unknown error occurred.)r!   r   r   s    r
   r   TransportError.__str__(   s    t**+++r   r    r   r   r   r   r
   r   r   "   s    C-,r   r   c                   $    \ rS rSrSrS rS rSrg)	HTTPError.   z"An unexpected HTTP error occurred.c                     Xl         g r   status_code)r	   r*   s     r
   r   HTTPError.__init__0   s    &r   c                      SU R                   -  $ )NzHTTP Error: %dr)   r   s    r
   r   HTTPError.__str__3   s    $"2"222r   r)   Nr   r   r   r
   r&   r&   .   s    ,'3r   r&   c                       \ rS rSrSrSrg)Timeout6   zThe request timed out.r   Nr   r   r   r   r   r   r   r   r
   r/   r/   6   s     r   r/   c                       \ rS rSrSrSrg)_RetriableRequest:   z*Signifies that the request can be retried.r   Nr1   r   r   r
   r3   r3   :   s    4r   r3   c                       \ rS rSrSrSrg)_OverQueryLimit>   zSignifies that the request failed because the client exceeded its query rate limit.

Normally we treat this as a retriable condition, but we allow the calling code to specify that these requests should
not be retried.
r   Nr1   r   r   r
   r6   r6   >   s    
 	r   r6   N)r   	Exceptionr   r   r&   r/   r3   r6   r   r   r
   <module>r9      sU   $
;y 
;
,Y 
,3 3	i 			 		h 1 	r   