ump.errors#

Exceptions#

CustomException

Common base class for all non-exit exceptions.

InvalidUsage

Common base class for all non-exit exceptions.

GeoserverException

Common base class for all non-exit exceptions.

OGCProcessException

Common base class for all non-exit exceptions.

Module Contents#

exception ump.errors.CustomException(message, status_code=None, payload=None)#

Bases: Exception

Common base class for all non-exit exceptions.

status_code = 400#
message#
payload = None#
to_dict()#
__str__() str#

Return str(self).

exception ump.errors.InvalidUsage(message, status_code=None, payload=None)#

Bases: CustomException

Common base class for all non-exit exceptions.

exception ump.errors.GeoserverException(message, status_code=None, payload=None)#

Bases: CustomException

Common base class for all non-exit exceptions.

exception ump.errors.OGCProcessException(response: ump.api.models.ogc_exception.OGCExceptionResponse)#

Bases: Exception

Common base class for all non-exit exceptions.

response#