type GBookmark_File_Error is (
G_Bookmark_File_Error_Invalid_Uri,
G_Bookmark_File_Error_Invalid_Value,
G_Bookmark_File_Error_App_Not_Registered,
G_Bookmark_File_Error_Uri_Not_Found,
G_Bookmark_File_Error_Read,
G_Bookmark_File_Error_Unknown_Encoding,
G_Bookmark_File_Error_Write,
G_Bookmark_File_Error_File_Not_Found);
Error codes returned by bookmark file parsing.
GBookmark_File_Error_Domain : constant GQuark := Quark_From_String (GBookmark_File_Error_Name);
Used to identify error domain in a GError
function GBookmark_File_Error_Matches
(Error : GError; Code : GBookmark_File_Error) return Boolean
Convenience helper to match error codes
GBookmark_File_Error_Name : constant UTF8_String := "g-bookmark-file-error-quark";
Used to identify error domain in a GError
package GBookmark_File_Error_Properties is
new Generic_Internal_Discrete_Property (GBookmark_File_Error);
type GConvert_Error is (
G_Convert_Error_No_Conversion,
G_Convert_Error_Illegal_Sequence,
G_Convert_Error_Failed,
G_Convert_Error_Partial_Input,
G_Convert_Error_Bad_Uri,
G_Convert_Error_Not_Absolute_Path,
G_Convert_Error_No_Memory,
G_Convert_Error_Embedded_Nul);
Error codes returned by character set conversion routines.
package GConvert_Error_Properties is
new Generic_Internal_Discrete_Property (GConvert_Error);
type GFile_Error is (
G_File_Error_Exist,
G_File_Error_Isdir,
G_File_Error_Acces,
G_File_Error_Nametoolong,
G_File_Error_Noent,
G_File_Error_Notdir,
G_File_Error_Nxio,
G_File_Error_Nodev,
…,
G_File_Error_Failed);
Values corresponding to Errno codes returned from file operations on UNIX. Unlike Errno codes, GFileError values are available on all systems, even Windows. The exact meaning of each code depends on what sort of file operation you were performing; the UNIX documentation gives more details. The following error code descriptions come from the GNU C Library manual, and are under the copyright of that manual.
It's not very portable to make detailed assumptions about exactly which errors will be returned from a given operation. Some errors don't occur on some systems, etc., sometimes there are subtle differences in when a system will report a given error, etc.
GFile_Error_Domain : constant GQuark := Quark_From_String (GFile_Error_Name);
Used to identify error domain in a GError
function GFile_Error_Matches
(Error : GError; Code : GFile_Error) return Boolean
Convenience helper to match error codes
GFile_Error_Name : constant UTF8_String := "g-file-error-quark";
Used to identify error domain in a GError
package GFile_Error_Properties is
new Generic_Internal_Discrete_Property (GFile_Error);
type GKey_File_Error is (
G_Key_File_Error_Unknown_Encoding,
G_Key_File_Error_Parse,
G_Key_File_Error_Not_Found,
G_Key_File_Error_Key_Not_Found,
G_Key_File_Error_Group_Not_Found,
G_Key_File_Error_Invalid_Value);
Error codes returned by key file parsing.
GKey_File_Error_Domain : constant GQuark := Quark_From_String (GKey_File_Error_Name);
Used to identify error domain in a GError
function GKey_File_Error_Matches
(Error : GError; Code : GKey_File_Error) return Boolean
Convenience helper to match error codes
GKey_File_Error_Name : constant UTF8_String := "g-key-file-error-quark";
Used to identify error domain in a GError
package GKey_File_Error_Properties is
new Generic_Internal_Discrete_Property (GKey_File_Error);
type GMarkup_Error is (
G_Markup_Error_Bad_Utf8,
G_Markup_Error_Empty,
G_Markup_Error_Parse,
G_Markup_Error_Unknown_Element,
G_Markup_Error_Unknown_Attribute,
G_Markup_Error_Invalid_Content,
G_Markup_Error_Missing_Attribute);
Error codes returned by markup parsing.
GMarkup_Error_Domain : constant GQuark := Quark_From_String (GMarkup_Error_Name);
Used to identify error domain in a GError
function GMarkup_Error_Matches
(Error : GError; Code : GMarkup_Error) return Boolean
Convenience helper to match error codes
GMarkup_Error_Name : constant UTF8_String := "g-markup-error-quark";
Used to identify error domain in a GError
package GMarkup_Error_Properties is
new Generic_Internal_Discrete_Property (GMarkup_Error);
type GNumber_Parser_Error is (
G_Number_Parser_Error_Invalid,
G_Number_Parser_Error_Out_Of_Bounds);
Error codes returned by functions converting a string to a number.
GNumber_Parser_Error_Domain : constant GQuark := Quark_From_String (GNumber_Parser_Error_Name);
Used to identify error domain in a GError
function GNumber_Parser_Error_Matches
(Error : GError; Code : GNumber_Parser_Error) return Boolean
Convenience helper to match error codes
GNumber_Parser_Error_Name : constant UTF8_String := "g-number-parser-error-quark";
Used to identify error domain in a GError
package GNumber_Parser_Error_Properties is
new Generic_Internal_Discrete_Property (GNumber_Parser_Error);
type GOption_Error is (
G_Option_Error_Unknown_Option,
G_Option_Error_Bad_Value,
G_Option_Error_Failed);
Error codes returned by option parsing.
GOption_Error_Domain : constant GQuark := Quark_From_String (GOption_Error_Name);
Used to identify error domain in a GError
function GOption_Error_Matches
(Error : GError; Code : GOption_Error) return Boolean
Convenience helper to match error codes
GOption_Error_Name : constant UTF8_String := "g-option-context-error-quark";
Used to identify error domain in a GError
package GOption_Error_Properties is
new Generic_Internal_Discrete_Property (GOption_Error);
type GRegex_Error is (
G_Regex_Error_Compile,
G_Regex_Error_Optimize,
G_Regex_Error_Replace,
G_Regex_Error_Match,
G_Regex_Error_Internal,
G_Regex_Error_Stray_Backslash,
G_Regex_Error_Missing_Control_Char,
G_Regex_Error_Unrecognized_Escape,
…,
G_Regex_Error_Character_Value_Too_Large);
Error codes returned by regular expressions functions.
GRegex_Error_Domain : constant GQuark := Quark_From_String (GRegex_Error_Name);
Used to identify error domain in a GError
function GRegex_Error_Matches
(Error : GError; Code : GRegex_Error) return Boolean
Convenience helper to match error codes
GRegex_Error_Name : constant UTF8_String := "g-regex-error-quark";
Used to identify error domain in a GError
package GRegex_Error_Properties is
new Generic_Internal_Discrete_Property (GRegex_Error);
type GResource_Error is (
G_Resource_Error_Not_Found,
G_Resource_Error_Internal);
An error code used with G_RESOURCE_ERROR in a Gerror.Gerror returned from a Glib.Resource.Gresource routine.
GResource_Error_Domain : constant GQuark := Quark_From_String (GResource_Error_Name);
Used to identify error domain in a GError
function GResource_Error_Matches
(Error : GError; Code : GResource_Error) return Boolean
Convenience helper to match error codes
GResource_Error_Name : constant UTF8_String := "g-resource-error-quark";
Used to identify error domain in a GError
package GResource_Error_Properties is
new Generic_Internal_Discrete_Property (GResource_Error);
type GShell_Error is (
G_Shell_Error_Bad_Quoting,
G_Shell_Error_Empty_String,
G_Shell_Error_Failed);
Error codes returned by shell functions.
GShell_Error_Domain : constant GQuark := Quark_From_String (GShell_Error_Name);
Used to identify error domain in a GError
function GShell_Error_Matches
(Error : GError; Code : GShell_Error) return Boolean
Convenience helper to match error codes
GShell_Error_Name : constant UTF8_String := "g-shell-error-quark";
Used to identify error domain in a GError
package GShell_Error_Properties is
new Generic_Internal_Discrete_Property (GShell_Error);
type GThread_Error is (
G_Thread_Error_Again);
Possible errors of thread related functions.
package GThread_Error_Properties is
new Generic_Internal_Discrete_Property (GThread_Error);
type GUri_Error is (
G_Uri_Error_Failed,
G_Uri_Error_Bad_Scheme,
G_Uri_Error_Bad_User,
G_Uri_Error_Bad_Password,
G_Uri_Error_Bad_Auth_Params,
G_Uri_Error_Bad_Host,
G_Uri_Error_Bad_Port,
G_Uri_Error_Bad_Path,
G_Uri_Error_Bad_Query,
G_Uri_Error_Bad_Fragment);
Error codes returned by Guri.Guri methods.
package GUri_Error_Properties is
new Generic_Internal_Discrete_Property (GUri_Error);
type GVariant_Parse_Error is (
G_Variant_Parse_Error_Failed,
G_Variant_Parse_Error_Basic_Type_Expected,
G_Variant_Parse_Error_Cannot_Infer_Type,
G_Variant_Parse_Error_Definite_Type_Expected,
G_Variant_Parse_Error_Input_Not_At_End,
G_Variant_Parse_Error_Invalid_Character,
G_Variant_Parse_Error_Invalid_Format_String,
G_Variant_Parse_Error_Invalid_Object_Path,
…,
G_Variant_Parse_Error_Recursion);
Error codes returned by parsing text-format GVariants.
GVariant_Parse_Error_Domain : constant GQuark := Quark_From_String (GVariant_Parse_Error_Name);
Used to identify error domain in a GError
function GVariant_Parse_Error_Matches
(Error : GError; Code : GVariant_Parse_Error) return Boolean
Convenience helper to match error codes
GVariant_Parse_Error_Name : constant UTF8_String := "g-variant-parse-error-quark";
Used to identify error domain in a GError
package GVariant_Parse_Error_Properties is
new Generic_Internal_Discrete_Property (GVariant_Parse_Error);
type Property_GBookmark_File_Error is new GBookmark_File_Error_Properties.Property;
type Property_GConvert_Error is new GConvert_Error_Properties.Property;
type Property_GFile_Error is new GFile_Error_Properties.Property;
type Property_GKey_File_Error is new GKey_File_Error_Properties.Property;
type Property_GMarkup_Error is new GMarkup_Error_Properties.Property;
type Property_GNumber_Parser_Error is new GNumber_Parser_Error_Properties.Property;
type Property_GOption_Error is new GOption_Error_Properties.Property;
type Property_GRegex_Error is new GRegex_Error_Properties.Property;
type Property_GResource_Error is new GResource_Error_Properties.Property;
type Property_GShell_Error is new GShell_Error_Properties.Property;
type Property_GThread_Error is new GThread_Error_Properties.Property;
type Property_GUri_Error is new GUri_Error_Properties.Property;
type Property_GVariant_Parse_Error is new GVariant_Parse_Error_Properties.Property;