Index

Package: Error

Description

package Glib.Error is
This package provides definitions for the error handling mechanism used in Glib, Gdk and Gtk.

Binding from C File version 1.3.11

Types

GError

type GError is new C_Proxy;

GError_Access

type GError_Access is access all GError;

Subprograms & Entries

Error_New

function Error_New 
(Domain: GQuark;
Code: Gint;
Message: String) return GError;
Create a new GError object.

Error_Free

procedure Error_Free 
(Error: GError);
Free the memory associated with a GError.

Error_Copy

function Error_Copy 
(Error: GError) return GError;
Duplicate a GError object.

Error_Matches

function Error_Matches 
(Error: GError;
Domain: GQuark;
Code: Gint) return Boolean;
Return whether a given GError matches a domain/code.

Get_Domain

function Get_Domain 
(Error: GError) return GQuark;
Return the domain associated with a GError.

Get_Code

function Get_Code 
(Error: GError) return Gint;
Return the code associated with a GError.

Get_Message

function Get_Message 
(Error: GError) return String;
Return the message associated with a GError.