From c637924b2c6cb108d20e3c7e097a67d23b07f3b7 Mon Sep 17 00:00:00 2001 From: Taher Chegini Date: Wed, 8 May 2024 18:04:55 -0400 Subject: [PATCH] MNT: Add the exception module as a high-level API so in duture version exceptions will be removed from high-level APIs. [skip ci] --- pygeoutils/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pygeoutils/__init__.py b/pygeoutils/__init__.py index fc19251..bd2b9db 100644 --- a/pygeoutils/__init__.py +++ b/pygeoutils/__init__.py @@ -6,6 +6,7 @@ from importlib.metadata import PackageNotFoundError, version from pathlib import Path +from pygeoutils import exceptions from pygeoutils._utils import get_gtiff_attrs, get_transform, transform2tuple, xd_write_crs from pygeoutils.exceptions import ( EmptyResponseError, @@ -96,4 +97,6 @@ "MatchingCRSError", "EmptyResponseError", "show_versions", + "exceptions", + "__version__", ]