Exceptions¶
PyWPS will throw exceptions based on the error occurred. The exceptions will point out what is missing or what went wrong as accurately as possible.
Here is the list of Exceptions and HTTP error codes associated with them:
-
class
pywps.exceptions.
NoApplicableCode
(description, locator='', code=400)[source]¶ No applicable code exception implementation
also
Base exception class
-
class
pywps.exceptions.
InvalidParameterValue
(description, locator='', code=400)[source]¶ Invalid parameter value exception implementation
-
class
pywps.exceptions.
MissingParameterValue
(description, locator='', code=400)[source]¶ Missing parameter value exception implementation
-
class
pywps.exceptions.
FileSizeExceeded
(description, locator='', code=400)[source]¶ File size exceeded exception implementation
-
class
pywps.exceptions.
VersionNegotiationFailed
(description, locator='', code=400)[source]¶ Version negotiation exception implementation
-
class
pywps.exceptions.
OperationNotSupported
(description, locator='', code=400)[source]¶ Operation not supported exception implementation