## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Error

- Goto spec source

# 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

- Goto declaration in source

    type GError is new C_Proxy;

### GError_Access

- Goto declaration in source

    type GError_Access is access all GError;

# Subprograms & Entries

### Error_New

- Goto spec in source

    function Error_New (Domain: GQuark;Code: Gint;Message: String) return GError;

Create a new GError object.

### Error_Free

- Goto spec in source
- Goto body in source

    procedure Error_Free (Error: GError);

Free the memory associated with a GError.

### Error_Copy

- Goto spec in source
- Goto body in source

    function Error_Copy (Error: GError) return GError;

Duplicate a GError object.

### Error_Matches

- Goto spec in source

    function Error_Matches (Error: GError;Domain: GQuark;Code: Gint) return Boolean;

Return whether a given GError matches a domain/code.

### Get_Domain

- Goto spec in source

    function Get_Domain (Error: GError) return GQuark;

Return the domain associated with a GError.

### Get_Code

- Goto spec in source

    function Get_Code (Error: GError) return Gint;

Return the code associated with a GError.

### Get_Message

- Goto spec in source

    function Get_Message (Error: GError) return String;

Return the message associated with a GError.