GError {RGtk2} | R Documentation |
GLib provides a standard method of reporting errors from a called function to the calling code. (This is the same problem solved by exceptions in other languages.)
As a transparent-type, a GError
is returned to the user as a list
with the following elements:
The domain is usually retrived via a function of the form NAME_OF_DOMAIN_ERROR().
For example, for GdkPixbuf
, the error domain is provided by GDK_PIXBUF_ERROR()
.
http://developer.gnome.org/doc/API/2.0/glib/glib-Error-Reporting.html
GdkPixbufError
GtkFileChooserError
GtkPrintError
GtkRecentChooserError
GtkRecentManagerError