QGIS API Documentation  2.99.0-Master (716ff6c)
Public Types | Public Member Functions | List of all members
QgsErrorMessage Class Reference

QgsErrorMessage represents single error message. More...

#include <qgserror.h>

Public Types

enum  Format { Text, Html }
 Format. More...
 

Public Member Functions

 QgsErrorMessage ()
 
 QgsErrorMessage (const QString &message, const QString &tag=QString::null, const QString &file=QString::null, const QString &function=QString::null, int line=0)
 Constructor. More...
 
QString file () const
 
QString function () const
 
int line () const
 
QString message () const
 
QString tag () const
 

Detailed Description

QgsErrorMessage represents single error message.

Definition at line 31 of file qgserror.h.

Member Enumeration Documentation

◆ Format

Format.

Enumerator
Text 
Html 

Definition at line 35 of file qgserror.h.

Constructor & Destructor Documentation

◆ QgsErrorMessage() [1/2]

QgsErrorMessage::QgsErrorMessage ( )
inline

Definition at line 41 of file qgserror.h.

◆ QgsErrorMessage() [2/2]

QgsErrorMessage::QgsErrorMessage ( const QString &  message,
const QString &  tag = QString::null,
const QString &  file = QString::null,
const QString &  function = QString::null,
int  line = 0 
)

Constructor.

Parameters
messageerror message string
tagerror label, for example GDAL, GDAL Provider, Raster layer
filethe file where error was created
functionthe function where error was created
linethe line where error was created

Definition at line 25 of file qgserror.cpp.

Member Function Documentation

◆ file()

QString QgsErrorMessage::file ( ) const
inline

Definition at line 57 of file qgserror.h.

◆ function()

QString QgsErrorMessage::function ( ) const
inline

Definition at line 58 of file qgserror.h.

◆ line()

int QgsErrorMessage::line ( ) const
inline

Definition at line 59 of file qgserror.h.

◆ message()

QString QgsErrorMessage::message ( ) const
inline

Definition at line 55 of file qgserror.h.

◆ tag()

QString QgsErrorMessage::tag ( ) const
inline

Definition at line 56 of file qgserror.h.


The documentation for this class was generated from the following files: