This package provides definitions for the error handling mechanism used in Glib, Gdk and Gtk.
<c_version>1.3.11</c_version> <group>Glib, the general-purpose library</group>
function Error_Copy (Error : GError) return GError
Duplicate a GError object.
procedure Error_Free (Error : GError)
Free the memory associated with a GError.
function Error_Matches
(Error : GError; Domain : GQuark; Code : Gint) return Boolean
Return whether a given GError matches a domain/code.
function Error_New
(Domain : GQuark; Code : Gint; Message : String) return GError
Create a new GError object.
type GError is new C_Proxy;
type GError_Access is access all GError;
function Get_Code (Error : GError) return Gint
Return the code associated with a GError.
function Get_Domain (Error : GError) return GQuark
Return the domain associated with a GError.
function Get_Message (Error : GError) return String
Return the message associated with a GError.