refactor: excel parse

This commit is contained in:
Blizzard
2026-04-16 10:01:11 +08:00
parent 680ecc320f
commit f62f95ec02
7941 changed files with 2899112 additions and 0 deletions
@@ -0,0 +1,25 @@
"""Custom errors."""
class DataSourceError(RuntimeError):
"""Errors relating to opening or closing an OGRDataSource (with >= 1 layers)."""
class DataLayerError(RuntimeError):
"""Errors relating to working with a single OGRLayer."""
class CRSError(DataLayerError):
"""Errors relating to getting or setting CRS values."""
class FeatureError(DataLayerError):
"""Errors related to reading or writing a feature."""
class GeometryError(DataLayerError):
"""Errors relating to getting or setting a geometry field."""
class FieldError(DataLayerError):
"""Errors relating to getting or setting a non-geometry field."""