Class: 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.
Methods
Returns the exception code |
|
Returns the locator |
|
Returns the exception message |
|
Returns the exception version |
Virtual Methods
In PyQGIS, only methods marked as virtual
can be safely overridden in a Python subclass of QgsOgcServiceException. See the FAQ for more details.
- class qgis.server.QgsOgcServiceException[source]¶
Bases:
object
- __init__(code: str | None, message: str | None, locator: str | None = '', responseCode: int = 200, version: str | None = '')
Construction
- Parameters:
code (Optional[str])
message (Optional[str])
locator (Optional[str] = '')
responseCode (int = 200)
version (Optional[str] = '')
- __init__(a0: QgsOgcServiceException)
- Parameters: