
    rbi                         d Z ddlmZmZ  G d de          Z G d de          Z G d de          Z G d	 d
e          ZdS )z
Exceptions for pyproj
    )_clear_proj_error_get_proj_errorc                   ,     e Zd ZdZdeddf fdZ xZS )	ProjErrorz Raised when a Proj error occurs.error_messagereturnNc                     t                      }|| d| d}t                       t                                          |           d S )Nz: (Internal Proj Error: ))r   r   super__init__)selfr   
proj_error	__class__s      a/var/www/html/mdtn/previsions/meteo_cartes/venv/lib/python3.11/site-packages/pyproj/exceptions.pyr   zProjError.__init__   sT    $&&
!,SSjSSSM'''''    )__name__
__module____qualname____doc__strr   __classcell__)r   s   @r   r   r      sQ        **(c (d ( ( ( ( ( ( ( ( ( (r   r   c                       e Zd ZdZdS )CRSErrorzRaised when a CRS error occurs.Nr   r   r   r    r   r   r   r      s        ))))r   r   c                       e Zd ZdZdS )	GeodErrorz Raised when a Geod error occurs.Nr   r   r   r   r   r      s        ****r   r   c                       e Zd ZdZdS )DataDirErrorz/Raised when a the data directory was not found.Nr   r   r   r   r   r      s        9999r   r   N)	r   pyproj._contextr   r   RuntimeErrorr   r   r   r   r   r   r   <module>r"      s     ? > > > > > > >( ( ( ( ( ( ( (* * * * *y * * *+ + + + + + + +: : : : :< : : : : :r   