OWS-specific errors.
Each error class corresponds to an OWS error code, as defined in OGC standards.
Source code: gws.base.ows.server.error
Module Contents
-
exception gws.base.ows.server.error.BadRequest(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.CannotLockAllFeatures(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.CurrentUpdateSequence(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.DuplicateStoredQueryIdValue(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.DuplicateStoredQueryParameterName(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.Error(*args)
Bases: gws.Error
OWS error.
-
to_image_response(mime='image/png') → gws.ContentResponse
Returns an image response for this error.
- Parameters:
mime – Image mime type.
-
to_xml_response(xmlns='ows') → gws.ContentResponse
Returns an XML response for this error.
- Parameters:
xmlns – XML namespace to use (ogc
or ows
).
-
exception gws.base.ows.server.error.FeaturesNotLocked(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.Forbidden(*args)
Bases: Error
OWS error.
-
gws.base.ows.server.error.from_exception(exc: Exception) → Error
Convert an Exception to the OWS Error.
-
exception gws.base.ows.server.error.InvalidCRS(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.InvalidDimensionValue(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.InvalidFormat(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.InvalidLockId(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.InvalidParameterValue(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.InvalidPoint(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.InvalidUpdateSequence(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.InvalidValue(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.LayerNotDefined(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.LayerNotQueryable(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.LockHasExpired(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.MissingDimensionValue(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.MissingParameterValue(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.NoApplicableCode(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.NotFound(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.OperationNotSupported(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.OperationParsingFailed(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.OperationProcessingFailed(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.OptionNotSupported(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.PointIJOutOfRange(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.ResponseCacheExpired(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.StyleNotDefined(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.TileOutOfRange(*args)
Bases: Error
OWS error.
-
exception gws.base.ows.server.error.VersionNegotiationFailed(*args)
Bases: Error
OWS error.