Class: QgsErrorMessage

class qgis.core.QgsErrorMessage

Bases: sip.wrapper

QgsErrorMessage represents single error message.

QgsErrorMessage() 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)

Methods

file

rtype

str

function

rtype

str

line

rtype

int

message

rtype

str

tag

rtype

str

Attributes

Html

Text

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