QGIS/python/server/auto_generated/qgsmapserviceexception.sip.in
2018-07-13 08:22:28 +01:00

49 lines
1.6 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/server/qgsmapserviceexception.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsMapServiceException : QgsOgcServiceException
{
%Docstring
Exception class for WMS service exceptions (for compatibility only).
The most important codes are:
* "InvalidFormat"
* "Invalid CRS"
* "LayerNotDefined" / "StyleNotDefined"
* "OperationNotSupported"
.. deprecated:: Use QsgServerException
%End
%TypeHeaderCode
#include "qgsmapserviceexception.h"
%End
public:
QgsMapServiceException( const QString &code, const QString &message );
%Docstring
Constructor for QgsMapServiceException.
:param code: HTTP error code
:param message: Exception message to return to the client
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/server/qgsmapserviceexception.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/