libdrmconf  0.10.4
A library to program DMR radios.
Public Member Functions | Protected Attributes | List of all members
ErrorStack::Message Class Reference

Represents a single error message. More...

#include <errorstack.hh>

Public Member Functions

 Message ()
 Empty constructor.
 
 Message (const QString &file, unsigned line, const QString &message)
 Constructor from file, line and message.
 
const QString & file () const
 Returns the file name.
 
unsigned line () const
 Returns the line within the file.
 
const QString & message () const
 Returns the error message.
 
QString format () const
 Formats the error messaege.
 

Protected Attributes

QString _file
 Holds the file path.
 
unsigned _line
 Holds the line.
 
QString _message
 Holds the error message.
 

Detailed Description

Represents a single error message.

That is, a tuple of file, line and message.


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