Subgroup: other

Class: QgsMapServiceException

class qgis.server.QgsMapServiceException(code: str, message: str)

Bases: qgis._server.QgsOgcServiceException

Constructor for QgsMapServiceException.

Parameters:
  • code – HTTP error code
  • message – Exception message to return to the client

QgsMapServiceException(QgsMapServiceException)

Exception class for WMS service exceptions (for compatibility only).

The most important codes are: * “InvalidFormat” * “Invalid CRS” * “LayerNotDefined” / “StyleNotDefined” * “OperationNotSupported”

Deprecated since version Use: QsgServerException

Methods

Signals

Attributes