
     h                     p    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y)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        |   |       y )Nz: (Internal Proj Error: ))r   r   super__init__)selfr   
proj_error	__class__s      m/home/developers/rajanand/mypropertyqr-fmb-refixing-v2/venv/lib/python3.12/site-packages/pyproj/exceptions.pyr   zProjError.__init__   s8    $&
!,o-Ej\QRSM'    )__name__
__module____qualname____doc__strr   __classcell__)r   s   @r   r   r      s    *(c (d ( (r   r   c                       e Zd ZdZy)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y)	GeodErrorz Raised when a Geod error occurs.Nr   r   r   r   r   r      s    *r   r   c                       e Zd ZdZy)DataDirErrorz/Raised when a the data directory was not found.Nr   r   r   r   r   r      s    9r   r   N)	r   pyproj._contextr   r   RuntimeErrorr   r   r   r   r   r   r   <module>r"      s?    ?( (*y *+ +:< :r   