QgsErrorMessage class

QgsErrorMessage represents single error message.

Public types

enum Format { Text, Html }
Format.

Constructors, destructors, conversion operators

QgsErrorMessage() defaulted
Constructor for QgsErrorMessage.
QgsErrorMessage(const QString& message, const QString& tag = QString(), const QString& file = QString(), const QString& function = QString(), int line = 0)
Constructor.

Function documentation

QgsErrorMessage::QgsErrorMessage(const QString& message, const QString& tag = QString(), const QString& file = QString(), const QString& function = QString(), int line = 0)

Constructor.

Parameters
message error message string
tag error label, for example GDAL, GDAL Provider, Raster layer
file the file where error was created
function the function where error was created
line the line where error was created