QgsErrorMessage represents single error message.
More...
#include <qgserror.h>
QgsErrorMessage represents single error message.
Definition at line 32 of file qgserror.h.
◆ Format
◆ QgsErrorMessage() [1/2]
QgsErrorMessage::QgsErrorMessage |
( |
| ) |
|
|
default |
◆ QgsErrorMessage() [2/2]
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 |
Definition at line 25 of file qgserror.cpp.
◆ file()
QString QgsErrorMessage::file |
( |
| ) |
const |
|
inline |
◆ function()
QString QgsErrorMessage::function |
( |
| ) |
const |
|
inline |
◆ line()
int QgsErrorMessage::line |
( |
| ) |
const |
|
inline |
◆ message()
QString QgsErrorMessage::message |
( |
| ) |
const |
|
inline |
◆ tag()
QString QgsErrorMessage::tag |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files:
- /build/qgis-3.41.0+git20241110+fda2aa46e9a+99sid/src/core/qgserror.h
- /build/qgis-3.41.0+git20241110+fda2aa46e9a+99sid/src/core/qgserror.cpp