#include <QGlib/Error>
Inherits std::exception.
List of all members.
Detailed Description
Wrapper class for GError.
- Examples:
- examples/recorder/main.cpp, and examples/voip/main.cpp.
Definition at line 29 of file error.h.
Constructor & Destructor Documentation
Wraps an existing GError into an Error.
- Note:
- the constructed Error takes ownership of error
Definition at line 23 of file error.cpp.
Creates a new Error with the given domain, code and message
Definition at line 29 of file error.cpp.
Member Function Documentation
Use message() instead. This method is provided to implement the std::exception interface.
Definition at line 53 of file error.cpp.
- Returns:
- the domain of the error. The domain indicates the module where the error has happened.
Definition at line 58 of file error.cpp.
- Returns:
- a code that describes the error
Definition at line 63 of file error.cpp.
QGlib::Error::operator GError * |
( |
| ) |
|
- Returns:
- a pointer to the underlying GError
- Note:
- no copy is made
Definition at line 73 of file error.cpp.
QGlib::Error::operator const GError * |
( |
| ) |
const |
- Returns:
- a const pointer to the underlying GError
- Note:
- no copy is made
Definition at line 78 of file error.cpp.
Friends And Related Function Documentation
QDebug operator<< |
( |
QDebug |
dbg, |
|
|
const Error & |
error |
|
) |
| [related] |
The documentation for this class was generated from the following files: