OWSExceptions are based on pyramid.httpexceptions.
See also: https://github.com/geopython/pywps/blob/master/pywps/exceptions.py
Module Contents
-
exception
weaver.owsexceptions.
OWSException
(detail=None, value=None, **kw)[source]
Bases: pyramid.response.Response
, Exception
-
code
= NoApplicableCode[source]
-
value
[source]
-
locator
= NoApplicableCode[source]
-
explanation
= Unknown Error[source]
-
page_template
[source]
-
wsgi_response
[source]
-
exception
[source]
-
static
json_formatter
(status, body, title, environ)[source]
-
prepare
(self, environ)[source]
-
exception
weaver.owsexceptions.
OWSAccessForbidden
(*args, **kwargs)[source]
Bases: weaver.owsexceptions.OWSException
-
locator
= AccessUnauthorized[source]
-
explanation
= Access to this service is unauthorized.[source]
-
exception
weaver.owsexceptions.
OWSNotFound
(*args, **kwargs)[source]
Bases: weaver.owsexceptions.OWSException
-
locator
= NotFound[source]
-
explanation
= This resource does not exist.[source]
-
exception
weaver.owsexceptions.
OWSNotAcceptable
(*args, **kwargs)[source]
Bases: weaver.owsexceptions.OWSException
-
locator
= NotAcceptable[source]
-
explanation
= Access to this service failed.[source]
-
exception
weaver.owsexceptions.
OWSNoApplicableCode
(*args, **kwargs)[source]
Bases: weaver.owsexceptions.OWSException
WPS Bad Request Exception
-
code
= NoApplicableCode[source]
-
locator
=[source]
-
explanation
= Parameter value is missing[source]
-
exception
weaver.owsexceptions.
OWSMissingParameterValue
(*args, **kwargs)[source]
Bases: weaver.owsexceptions.OWSException
MissingParameterValue WPS Exception
-
code
= MissingParameterValue[source]
-
locator
=[source]
-
explanation
= Parameter value is missing[source]
-
exception
weaver.owsexceptions.
OWSInvalidParameterValue
(*args, **kwargs)[source]
Bases: weaver.owsexceptions.OWSException
InvalidParameterValue WPS Exception
-
code
= InvalidParameterValue[source]
-
locator
=[source]
-
explanation
= Parameter value is not acceptable.[source]
-
exception
weaver.owsexceptions.
OWSNotImplemented
(*args, **kwargs)[source]
Bases: weaver.owsexceptions.OWSException
-
code
= NotImplemented[source]
-
locator
=[source]
-
explanation
= Operation is not implemented.[source]