Skip to content

error

Package errors and backend mapped error types

class GeoEngineException(Exception)

Base class for exceptions from the backend

class InputException(Exception)

Exception that is thrown on wrong inputs

class UninitializedException(Exception)

Exception that is thrown when there is no connection to the backend but methods on the backend are called

class TypeException(Exception)

Exception on wrong types of input

class ModificationNotOnLayerDbException(Exception)

Exception that is when trying to modify layers that are not part of the layerdb

class MethodNotCalledOnRasterException(Exception)

Exception for calling a raster method on a, e.g., vector layer

class MethodNotCalledOnVectorException(Exception)

Exception for calling a vector method on a, e.g., raster layer

class MethodNotCalledOnPlotException(Exception)

Exception for calling a plot method on a, e.g., vector layer

class SpatialReferenceMismatchException(Exception)

Exception for calling a method on a workflow with a query rectangle that has a different spatial reference

class InvalidUrlException(Exception)

Exception for when no valid url is provided

class MissingFieldInResponseException(Exception)

Exception for when a field is missing in a response

def check_response_for_error(response: Response) -> None

Checks a Response for an error and raises it if there is one.

class MethodOnlyAvailableInGeoEnginePro(Exception)

Exception when trying to use a method that is only available in Geo Engine Pro

class OGCXMLError(Exception)

Exception when an OGC XML error is returned