GError                 package:RGtk2                 R Documentation

_T_h_e _G_E_r_r_o_r _o_b_j_e_c_t

_D_e_s_c_r_i_p_t_i_o_n:

     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.)

_D_e_t_a_i_l_s:

     As a transparent-type, a 'GError' is returned to the user as a
     list  with the following elements:

     _d_o_m_a_i_n a numeric vector with one named element that identifies the
          error domain

     _c_o_d_e an integer code (often an enum value) identifying the
          specific error type within the domain

     _m_e_s_s_a_g_e a descriptive error message

     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()'.

_R_e_f_e_r_e_n_c_e_s:

     <URL:
     http://developer.gnome.org/doc/API/2.0/glib/glib-Error-Reporting.html>

_S_e_e _A_l_s_o:

     'GdkPixbufError' 'GtkFileChooserError' 'GtkPrintError'
     'GtkRecentChooserError' 'GtkRecentManagerError'

