QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
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 ()=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
 

Detailed Description

QgsErrorMessage represents single error message.

Definition at line 32 of file qgserror.h.

Member Enumeration Documentation

◆ Format

Format.

Enumerator
Text 
Html 

Definition at line 36 of file qgserror.h.

Constructor & Destructor Documentation

◆ 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
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 56 of file qgserror.h.

◆ function()

QString QgsErrorMessage::function ( ) const
inline

Definition at line 57 of file qgserror.h.

◆ line()

int QgsErrorMessage::line ( ) const
inline

Definition at line 58 of file qgserror.h.

◆ message()

QString QgsErrorMessage::message ( ) const
inline

Definition at line 54 of file qgserror.h.

◆ tag()

QString QgsErrorMessage::tag ( ) const
inline

Definition at line 55 of file qgserror.h.


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