mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
24 lines
653 B
Plaintext
24 lines
653 B
Plaintext
%Exception QgsServerApiBadRequestException(SIP_Exception) /PyName=QgsServerApiBadRequestException/
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsserverexception.h>
|
|
%End
|
|
%RaiseCode
|
|
SIP_BLOCK_THREADS
|
|
PyErr_SetString(sipException_QgsServerApiBadRequestException, sipExceptionRef.what().toUtf8().constData() );
|
|
SIP_UNBLOCK_THREADS
|
|
%End
|
|
};
|
|
|
|
%Exception QgsServerApiInternalServerError(SIP_Exception) /PyName=QgsServerApiInternalServerError/
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsserverexception.h>
|
|
%End
|
|
%RaiseCode
|
|
SIP_BLOCK_THREADS
|
|
PyErr_SetString(sipException_QgsServerApiInternalServerError, sipExceptionRef.what().toUtf8().constData() );
|
|
SIP_UNBLOCK_THREADS
|
|
%End
|
|
};
|