From 0e4e09d38994f5fb0b59619929d0c29746dd9007 Mon Sep 17 00:00:00 2001 From: Blottiere Paul Date: Fri, 22 Mar 2019 12:36:45 +0000 Subject: [PATCH] Update doc --- src/server/qgsserverexception.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/server/qgsserverexception.h b/src/server/qgsserverexception.h index 2de35df696dc..81d916c06424 100644 --- a/src/server/qgsserverexception.h +++ b/src/server/qgsserverexception.h @@ -49,15 +49,22 @@ class SERVER_EXPORT QgsServerException int responseCode() const { return mResponseCode; } /** - * Format the exception for sending to client + * Formats the exception for sending to client * * \param responseFormat QString to store the content type of the response format. - * \returns QByteArray the fermatted response. + * \returns QByteArray The formatted response. * * The default implementation returns text/xml format. */ virtual QByteArray formatResponse( QString &responseFormat SIP_OUT ) const; + /** + * Formats the exception for sending to client + * + * \returns QByteArray The formatted response. + * + * \since QGIS 3.8 + */ QByteArray formatResponse() const; private: