Class: QgsOgcServiceException¶
-
class
qgis.server.
QgsOgcServiceException
(code: str, message: str, locator: str = '', responseCode: int = 200, version: str = '')¶ Bases:
sip.wrapper
Construction
QgsOgcServiceException(QgsOgcServiceException)
Exception base class for service exceptions.
Note that this exception is associated with a default return code 200 which may be not appropriate in some situations.
New in version 3.0: Enums
Methods
Returns the exception code
Returns the locator
Returns the exception message
Returns the exception version
Signals
Attributes
-
code
(self) → str¶ Returns the exception code
-
formatResponse
(self) → Tuple[QByteArray, str]¶
-
locator
(self) → str¶ Returns the locator
-
message
(self) → str¶ Returns the exception message
-
version
(self) → str¶ Returns the exception version
-