Static$gtypeStaticASSERTION_Assertion expected after "(?(". Since 2.16
StaticBACKTRACKING_the backtracing control verb used does not allow an argument. Since: 2.34
StaticBACKTRACKING_the backtracing control verb requires an argument. Since: 2.34
StaticCHARACTER_the character value in the \u sequence is too large. Since: 2.34
StaticCOMPILECompilation of the regular expression failed.
StaticDEFINE_Repeating a "DEFINE" group is not allowed. This error is never raised. Since: 2.16 Deprecated: 2.34
StaticDUPLICATE_Two named subpatterns have the same name. Since 2.16
StaticEXPRESSION_Regular expression too large. Since 2.16
StaticEXTRA_different names for subpatterns of the same number are not allowed. Since: 2.34
StaticHEX_Character value in "\x{...}" sequence is too large. Since 2.16
StaticINCONSISTENT_Inconsistent newline options. Since 2.16
StaticINEXISTENT_Reference to non-existent subpattern. Since 2.16
StaticINFINITE_Recursive call could loop indefinitely. Since 2.16
StaticINTERNALInternal error of the regular expression engine. Since 2.16
StaticINVALID_Invalid condition "(?(0)". Since 2.16
StaticINVALID_"\c" must be followed by an ASCII character. Since: 2.34
StaticINVALID_In JavaScript compatibility mode, "[" is an invalid data character. Since: 2.34
StaticINVALID_Invalid escape sequence in character class. Since 2.16
StaticINVALID_Octal value is greater than "\377". Since 2.16
StaticINVALID_relative reference must not be zero. Since: 2.34
StaticMALFORMED_Malformed number or name after "(?(". Since 2.16
StaticMALFORMED_Malformed "\P" or "\p" sequence. Since 2.16
StaticMATCHThe match process failed.
StaticMEMORY_Failed to get memory. Since 2.16
StaticMISSING_"\g" is not followed by a braced, angle-bracketed, or quoted name or number, or by a plain number. Since: 2.16
StaticMISSING_"\c" at end of pattern. Since 2.16
StaticMISSING_Missing digit. Since 2.34
StaticMISSING_"\k" is not followed by a braced, angle-bracketed, or quoted name. Since: 2.34
StaticMISSING_Missing subpattern name. Since: 2.34
StaticMISSING_Missing terminator in subpattern name. Since 2.16
StaticNAME_the name is too long in "(*MARK)", "(*PRUNE)", "(*SKIP)", or "(*THEN)". Since: 2.34
StaticNOT_"\N" is not supported in a class. Since: 2.34
StaticNOTHING_Nothing to repeat. Since 2.16
StaticNUMBER_number is too big in escape sequence. Since: 2.34
StaticOPTIMIZEOptimization of the regular expression failed.
StaticPOSIX_POSIX collating elements are not supported. Since 2.16
StaticPOSIX_POSIX named classes are supported only within a class. Since 2.16
StaticQUANTIFIER_Number too big in "{}" quantifier. Since 2.16
StaticQUANTIFIERS_Numbers out of order in "{}" quantifier. Since 2.16
StaticRANGE_Range out of order in character class. Since 2.16
StaticREPLACEReplacement failed due to an ill-formed replacement string.
StaticSINGLE_\C not allowed in lookbehind assertion. Since 2.16
StaticSTRAY_"\" at end of pattern. Since 2.16
StaticSUBPATTERN_Subpattern name is too long (maximum 32 characters). Since 2.16
StaticTOO_"DEFINE" group contains more than one branch. Since 2.16
StaticTOO_Conditional group contains more than two branches. Since 2.16
StaticTOO_too many forward references. Since: 2.34
StaticTOO_Too many named subpatterns (maximum 10,000). Since 2.16
StaticUNKNOWN_unknown backtracing control verb. Since: 2.34
StaticUNKNOWN_Unknown POSIX class name. Since 2.16
StaticUNKNOWN_Unknown property name after "\P" or "\p". Since 2.16
StaticUNMATCHED_Missing terminating ")" or ")" without opening "(". Since 2.16
StaticUNRECOGNIZED_Unrecognized character after "(?", "(?<" or "(?P". Since 2.16
StaticUNRECOGNIZED_Unrecognized character follows "\". Since 2.16
StaticUNTERMINATED_Missing terminating "]" for character class. Since 2.16
StaticUNTERMINATED_Missing terminating ")" after comment. Since 2.16
StaticVARIABLE_Lookbehind assertion is not fixed length. Since 2.16
Frees a GLib.Error and associated resources.
Returns true if error matches domain and code, false
otherwise. In particular, when error is null, false will
be returned.
If domain contains a FAILED (or otherwise generic) error code,
you should generally not check for it explicitly, but should
instead treat any not-explicitly-recognized error code as being
equivalent to the FAILED code. This way, if the domain is
extended in the future to provide a more specific error code for
a certain case, your code will still work.
whether error has domain and code
Staticdomain_This function registers an extended GLib.Error domain.
error_type_name will be duplicated. Otherwise does the same as
g_error_domain_register_static().
string to create a GLib.Quark from
size of the private error data in bytes
function initializing fields of the private error data
function copying fields of the private error data
function freeing fields of the private error data
Staticdomain_This function registers an extended GLib.Error domain.
error_type_name should not be freed. error_type_private_size must
be greater than 0.
error_type_init receives an initialized GLib.Error and should then initialize
the private data.
error_type_copy is a function that receives both original and a copy
GLib.Error and should copy the fields of the private error data. The standard
GLib.Error fields are already handled.
error_type_clear receives the pointer to the error, and it should free the
fields of the private error data. It should not free the struct itself though.
Normally, it is better to use G_DEFINE_EXTENDED_ERROR(), as it already takes care of passing valid information to this function.
static string to create a GLib.Quark from
size of the private error data in bytes
function initializing fields of the private error data
function copying fields of the private error data
function freeing fields of the private error data
Staticnew_
Error codes returned by regular expressions functions.