HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/django/contrib/gis/gdal/__pycache__/error.cpython-310.pyc
o

�a*�@s�dZGdd�de�ZGdd�de�Zedfedfedfedfed	fed
fedfedfd
�Zedfedfedfedfedfedfedfedfedfedfd�
ZdZddd�ZdS)z�
 This module houses the GDAL & SRS Exception objects, and the
 check_err() routine which checks the status code returned by
 GDAL/OGR methods.
c@�eZdZdS)�
GDALExceptionN��__name__�
__module__�__qualname__�rr�?/usr/lib/python3/dist-packages/django/contrib/gis/gdal/error.pyr	�rc@r)�SRSExceptionNrrrrrr

r	r
zNot enough data.zNot enough memory.zUnsupported geometry type.zUnsupported operation.z
Corrupt data.zOGR failure.zUnsupported SRS.zInvalid handle.)���������
AppDefined�OutOfMemory�FileIO�
OpenFailed�
IllegalArg�NotSupported�AssertionFailed�
NoWriteAccess�
UserInterrupt�
ObjectNull)
rrr
rrrrr�	�
�FcCs@|rtnt}|tkrdS||vr||\}}||��td|��)zN
    Check the given CPL/OGRERR and raise an exception where appropriate.
    NzUnknown error code: "%s")�CPLERR_DICT�OGRERR_DICT�ERR_NONEr)�code�cpl�err_dict�e�msgrrr�	check_err1sr(N)F)�__doc__�	Exceptionrr
r!r r"r(rrrr�<module>s2��