Subgroup: Error
Class: QgsErrorMessage¶
-
class
qgis.core.
QgsErrorMessage
¶ Bases:
sip.wrapper
Constructor for QgsErrorMessage
QgsErrorMessage(message: str, tag: str = ‘’, file: str = ‘’, function: str = ‘’, line: int = 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
QgsErrorMessage(QgsErrorMessage)
QgsErrorMessage represents single error message.
-
class
Format
¶ Bases:
int
-
Html
= 1¶
-
Text
= 0¶
-
file
(self) → str¶
-
function
(self) → str¶
-
line
(self) → int¶
-
message
(self) → str¶
-
tag
(self) → str¶