Packages
glib-2.0
GLib
VariantParseError
BASIC_TYPE_EXPECTED
CANNOT_INFER_TYPE
DEFINITE_TYPE_EXPECTED
FAILED
INPUT_NOT_AT_END
INVALID_CHARACTER
INVALID_FORMAT_STRING
INVALID_OBJECT_PATH
INVALID_SIGNATURE
INVALID_TYPE_STRING
NO_COMMON_TYPE
NUMBER_OUT_OF_RANGE
NUMBER_TOO_BIG
RECURSION
TYPE_ERROR
UNEXPECTED_TOKEN
UNKNOWN_KEYWORD
UNTERMINATED_STRING_CONSTANT
VALUE_EXPECTED
quark
VariantParseError
Description:
[
CCode
( has_type_id =
false
) ]
[
Version
( since =
"2.24"
) ]
public
errordomain
VariantParseError
Error codes returned by parsing text-format GVariants.
Namespace:
GLib
Package:
glib-2.0
Content:
Error codes:
BASIC_TYPE_EXPECTED
-
a non-basic
VariantType
was given where a basic type was expected
CANNOT_INFER_TYPE
-
cannot infer the
VariantType
DEFINITE_TYPE_EXPECTED
-
an indefinite
VariantType
was given where a definite type was expected
FAILED
-
generic error (unused)
INPUT_NOT_AT_END
-
extra data after parsing finished
INVALID_CHARACTER
-
invalid character in number or unicode escape
INVALID_FORMAT_STRING
-
not a valid
Variant
format string
INVALID_OBJECT_PATH
-
not a valid object path
INVALID_SIGNATURE
-
not a valid type signature
INVALID_TYPE_STRING
-
not a valid
Variant
type string
NO_COMMON_TYPE
-
could not find a common type for array entries
NUMBER_OUT_OF_RANGE
-
the numerical value is out of range of the given type
NUMBER_TOO_BIG
-
the numerical value is out of range for any type
RECURSION
-
variant was too deeply nested;
Variant
is only guaranteed to handle nesting up to 64 levels (Since: 2.64)
TYPE_ERROR
-
cannot parse as variant of the specified type
UNEXPECTED_TOKEN
-
an unexpected token was encountered
UNKNOWN_KEYWORD
-
an unknown keyword was encountered
UNTERMINATED_STRING_CONSTANT
-
unterminated string constant
VALUE_EXPECTED
-
no value given
Static methods:
public
static
Quark
quark
()