Represents a single error message.
More...
#include <qgserror.h>
|
| | QgsErrorMessage ()=default |
| | QgsErrorMessage (const QString &message, const QString &tag=QString(), const QString &file=QString(), const QString &function=QString(), int line=0) |
| | Constructor.
|
| QString | file () const |
| QString | function () const |
| int | line () const |
| QString | message () const |
| QString | tag () const |
Represents a single error message.
Definition at line 34 of file qgserror.h.
◆ Format
Format.
| Enumerator |
|---|
| Text | Plain text format.
|
| Html | HTML format.
|
Definition at line 38 of file qgserror.h.
◆ 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 29 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-4.3.0+git20261025+0ad0cdb9438+99sid/src/core/qgserror.h
- /build/qgis-4.3.0+git20261025+0ad0cdb9438+99sid/src/core/qgserror.cpp