error
Package errors and backend mapped error types
GeoEngineException Objects
Section titled “GeoEngineException Objects”class GeoEngineException(Exception)Base class for exceptions from the backend
InputException Objects
Section titled “InputException Objects”class InputException(Exception)Exception that is thrown on wrong inputs
UninitializedException Objects
Section titled “UninitializedException Objects”class UninitializedException(Exception)Exception that is thrown when there is no connection to the backend but methods on the backend are called
TypeException Objects
Section titled “TypeException Objects”class TypeException(Exception)Exception on wrong types of input
ModificationNotOnLayerDbException Objects
Section titled “ModificationNotOnLayerDbException Objects”class ModificationNotOnLayerDbException(Exception)Exception that is when trying to modify layers that are not part of the layerdb
MethodNotCalledOnRasterException Objects
Section titled “MethodNotCalledOnRasterException Objects”class MethodNotCalledOnRasterException(Exception)Exception for calling a raster method on a, e.g., vector layer
MethodNotCalledOnVectorException Objects
Section titled “MethodNotCalledOnVectorException Objects”class MethodNotCalledOnVectorException(Exception)Exception for calling a vector method on a, e.g., raster layer
MethodNotCalledOnPlotException Objects
Section titled “MethodNotCalledOnPlotException Objects”class MethodNotCalledOnPlotException(Exception)Exception for calling a plot method on a, e.g., vector layer
SpatialReferenceMismatchException Objects
Section titled “SpatialReferenceMismatchException Objects”class SpatialReferenceMismatchException(Exception)Exception for calling a method on a workflow with a query rectangle that has a different spatial reference
InvalidUrlException Objects
Section titled “InvalidUrlException Objects”class InvalidUrlException(Exception)Exception for when no valid url is provided
MissingFieldInResponseException Objects
Section titled “MissingFieldInResponseException Objects”class MissingFieldInResponseException(Exception)Exception for when a field is missing in a response
check_response_for_error
Section titled “check_response_for_error”def check_response_for_error(response: Response) -> NoneChecks a Response for an error and raises it if there is one.
MethodOnlyAvailableInGeoEnginePro Objects
Section titled “MethodOnlyAvailableInGeoEnginePro Objects”class MethodOnlyAvailableInGeoEnginePro(Exception)Exception when trying to use a method that is only available in Geo Engine Pro
OGCXMLError Objects
Section titled “OGCXMLError Objects”class OGCXMLError(Exception)Exception when an OGC XML error is returned