Class: QgsServerException¶
Exception base class for server exceptions.
Methods
Returns the return HTTP response code associated with this exception. |
Virtual Methods
In PyQGIS, only methods marked as virtual
can be safely overridden in a Python subclass of QgsServerException. See the FAQ for more details.
Formats the exception for sending to client |
- class qgis.server.QgsServerException[source]¶
Bases:
object
- __init__(message: str | None, responseCode: int = 500)
Constructor
- Parameters:
message (Optional[str])
responseCode (int = 500)
- __init__(a0: QgsServerException)
- Parameters:
a0 (QgsServerException)