26#define QGS_ERROR_MESSAGE(message, tag) QgsErrorMessage(QString(message),QString(tag), QString(__FILE__), QString(__FUNCTION__), __LINE__) 
   53    QgsErrorMessage( 
const QString &message, 
const QString &tag = QString(), 
const QString &file = QString(), 
const QString &function = QString(), 
int line = 0 );
 
   55    QString 
message()
 const { 
return mMessage; }
 
   56    QString 
tag()
 const { 
return mTag; }
 
   57    QString 
file()
 const { 
return mFile; }
 
   59    int line()
 const { 
return mLine; }
 
   92    QgsError( 
const QString &message, 
const QString &tag );
 
   99    void append( 
const QString &message, 
const QString &tag );
 
  111    bool isEmpty()
 const { 
return mMessageList.isEmpty(); }
 
  124    QString summary() 
const;
 
  127    void clear() { mMessageList.clear(); }
 
  133    QList<QgsErrorMessage> 
messageList()
 const { 
return mMessageList; }
 
  137    SIP_PYOBJECT __repr__();
 
  140    sipRes = PyUnicode_FromString( 
str.toUtf8().constData() );
 
  146    QList<QgsErrorMessage> mMessageList;
 
QgsErrorMessage represents single error message.
 
QgsErrorMessage()=default
Constructor for QgsErrorMessage.
 
QgsError is container for error messages (report).
 
void clear()
Clear error messages.
 
bool isEmpty() const
Test if any error is set.
 
QgsError()=default
Constructor for QgsError.
 
QList< QgsErrorMessage > messageList() const
messageList return the list of current error messages