gtkspellmm 3.0.5
GtkSpell::Error Class Reference

#include <gtkspellmm/gtkspell.h>

Inheritance diagram for GtkSpell::Error:

Public Types

enum  Code { BACKEND }
 Error codes used for GtkSpell errors. More...

Public Member Functions

 Error (Code error_code, const Glib::ustring& error_message)
 Error (GError* gobject)
Code code () const
Public Member Functions inherited from Glib::Error
 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
GQuark domain () const
int code () const
Glib::ustring what () const override
bool matches (GQuark error_domain, int error_code) const
GError * gobj ()
const GError * gobj () const
Public Member Functions inherited from Glib::Exception
virtual ~Exception () noexcept=0

Additional Inherited Members

Protected Attributes inherited from Glib::Error
GError * gobject_

Detailed Description

Member Enumeration Documentation

◆ Code

Error codes used for GtkSpell errors.

Enumerator
BACKEND 

Error code for backend errors.

Constructor & Destructor Documentation

◆ Error() [1/2]

GtkSpell::Error::Error ( Code error_code,
const Glib::ustring & error_message )

◆ Error() [2/2]

GtkSpell::Error::Error ( GError * gobject)
explicit

Member Function Documentation

◆ code()

Code GtkSpell::Error::code ( ) const