Source code for geodetic_engine.georepository.errors
"""Exceptions raised while talking to a Georepository instance."""
from geodetic_engine.errors import GeodeticEngineError
[docs]
class GeorepositoryError(GeodeticEngineError):
"""Base class for Georepository access failures."""
[docs]
class GeorepositoryConfigError(GeorepositoryError):
"""The Georepository connection settings are missing or inconsistent."""
[docs]
class GeorepositoryAuthError(GeorepositoryError):
"""An OAuth2 token could not be obtained or refreshed."""
[docs]
class GeorepositoryApiError(GeorepositoryError):
"""The API returned an unusable response."""