Class: QgsOgcServiceException

class qgis.server.QgsOgcServiceException

Bases: sip.wrapper

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.

QgsOgcServiceException(code: Optional[str], message: Optional[str], locator: Optional[str] = ‘’, responseCode: int = 200, version: Optional[str] = ‘’) Construction

QgsOgcServiceException(a0: QgsOgcServiceException)

Methods

code

Returns the exception code

formatResponse

locator

Returns the locator

message

Returns the exception message

version

Returns the exception version

code(self) str

Returns the exception code

Return type:

str

formatResponse(self)
locator(self) str

Returns the locator

Return type:

str

message(self) str

Returns the exception message

Return type:

str

version(self) str

Returns the exception version

Return type:

str