QGIS/python/server/qgsmapserviceexception.sip

19 lines
405 B
Plaintext
Raw Normal View History

2014-10-09 15:05:19 +02:00
/**Exception class for WMS service exceptions. The most important codes are:
"InvalidFormat"
"Invalid CRS"
"LayerNotDefined" / "StyleNotDefined"
"OperationNotSupported"*/
class QgsMapServiceException
{
%TypeHeaderCode
#include <qgsmapserviceexception.h>
%End
public:
QgsMapServiceException( const QString& code, const QString& message );
QString code() const;
QString message() const;
};