|
glibmm 2.84.0
|
#include <glibmm/error.h>

Public Member Functions | |
| Error () | |
| Error (GQuark error_domain, int error_code, const Glib::ustring & message) | |
| Error (GError *gobject, bool take_copy=false) | |
| Error (const Error &other) | |
| Error & | operator= (const Error &other) |
| ~Error () noexcept override | |
| operator bool () const | |
| Test whether the Error has an underlying instance. | |
| GQuark | domain () const |
| int | code () const |
| const char * | what () const noexcept override |
| bool | matches (GQuark error_domain, int error_code) const |
| GError * | gobj () |
| const GError * | gobj () const |
Protected Attributes | |
| GError * | gobject_ |
| Glib::Error::Error | ( | ) |
| Glib::Error::Error | ( | GQuark | error_domain, |
| int | error_code, | ||
| const Glib::ustring & | message | ||
| ) |
|
overridenoexcept |
| int Glib::Error::code | ( | ) | const |
| GQuark Glib::Error::domain | ( | ) | const |
| GError * Glib::Error::gobj | ( | ) |
| bool Glib::Error::matches | ( | GQuark | error_domain, |
| int | error_code | ||
| ) | const |
|
explicit |
Test whether the Error has an underlying instance.
Reimplemented from std::exception.
|
protected |