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¶
- Return type
str
- function(self) → str¶
- Return type
str
- line(self) → int¶
- Return type
int
- message(self) → str¶
- Return type
str
- tag(self) → str¶
- Return type
str