
    .h                         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g)z
Exceptions raised by geopy.
c                       \ rS rSrSrSrg)
GeopyError   z>
Geopy-specific exceptions are all inherited from GeopyError.
 N__name__
__module____qualname____firstlineno____doc____static_attributes__r       \C:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\geopy/exc.pyr   r      s    r   r   c                       \ rS rSrSrSrg)ConfigurationError   z
When instantiating a geocoder, the arguments given were invalid. See
the documentation of each geocoder's ``__init__`` for more details.
r   Nr   r   r   r   r   r          r   r   c                       \ rS rSrSrSrg)GeocoderServiceError   au  
There was an exception caused when calling the remote geocoding service,
and no more specific exception could be raised by geopy. When calling
geocoders' ``geocode`` or `reverse` methods, this is the most generic
exception that can be raised, and any non-geopy exception will be caught
and turned into this. The exception's message will be that of the
original exception.
r   Nr   r   r   r   r   r      s    r   r   c                       \ rS rSrSrSrg)GeocoderQueryError   z
Either geopy detected input that would cause a request to fail,
or a request was made and the remote geocoding service responded
that the request was bad.
r   Nr   r   r   r   r   r          r   r   c                       \ rS rSrSrSrg)GeocoderQuotaExceeded&   zd
The remote geocoding service refused to fulfill the request
because the client has used its quota.
r   Nr   r   r   r   r   r   &   r   r   r   c                   4   ^  \ rS rSrSrSS.U 4S jjrSrU =r$ )GeocoderRateLimited-   a+  
The remote geocoding service has rate-limited the request.
Retrying later might help.

Exception of this type has a ``retry_after`` attribute,
which contains amount of time (in seconds) the service
has asked to wait. Might be ``None`` if there were no such
data in response.

.. versionadded:: 2.2
N)retry_afterc                0   > [         TU ]  U5        X l        g )N)super__init__r    )selfmessager    	__class__s      r   r#   GeocoderRateLimited.__init__:   s    !&r   )r   r   r	   r
   r   r#   r   __classcell__)r&   s   @r   r   r   -   s    
 04 ' 'r   r   c                       \ rS rSrSrSrg)GeocoderAuthenticationFailure?   zo
The remote geocoding service rejected the API key or account
credentials this geocoder was instantiated with.
r   Nr   r   r   r   r*   r*   ?   r   r   r*   c                       \ rS rSrSrSrg)GeocoderInsufficientPrivilegesF   z`
The remote geocoding service refused to fulfill a request using the
account credentials given.
r   Nr   r   r   r   r-   r-   F   r   r   r-   c                       \ rS rSrSrSrg)GeocoderTimedOutM   a  
The call to the geocoding service was aborted because no response
has been received within the ``timeout`` argument of either
the geocoding class or, if specified, the method call.
Some services are just consistently slow, and a higher timeout
may be needed to use them.
r   Nr   r   r   r   r0   r0   M   s    r   r0   c                       \ rS rSrSrSrg)GeocoderUnavailableW   z
Either it was not possible to establish a connection to the remote
geocoding service, or the service responded with a code indicating
it was unavailable.
r   Nr   r   r   r   r3   r3   W   r   r   r3   c                       \ rS rSrSrSrg)GeocoderParseError_   zW
Geopy could not parse the service's response. This is probably due
to a bug in geopy.
r   Nr   r   r   r   r6   r6   _   r   r   r6   c                       \ rS rSrSrSrg)GeocoderNotFoundf   zu
Caller requested the geocoder matching a string, e.g.,
``"google"`` > ``GoogleV3``, but no geocoder could be found.
r   Nr   r   r   r   r9   r9   f   r   r   r9   N)r   	Exceptionr   
ValueErrorr   r   r   r   IOErrorr   r*   r-   TimeoutErrorr0   r3   r6   r9   r   r   r   <module>r?      s   
 Z : -z 0 '/ '$$8 %9 +\ . - z: r   