VariantParseError

Error codes returned by parsing text-format GVariants.

Entries

Link copied to clipboard

generic error (unused)

Link copied to clipboard

a non-basic #GVariantType was given where a basic type was expected

Link copied to clipboard

cannot infer the #GVariantType

Link copied to clipboard

an indefinite #GVariantType was given where a definite type was expected

Link copied to clipboard

extra data after parsing finished

Link copied to clipboard

invalid character in number or unicode escape

Link copied to clipboard

not a valid #GVariant format string

Link copied to clipboard

not a valid object path

Link copied to clipboard

not a valid type signature

Link copied to clipboard

not a valid #GVariant type string

Link copied to clipboard

could not find a common type for array entries

Link copied to clipboard

the numerical value is out of range of the given type

Link copied to clipboard

the numerical value is out of range for any type

Link copied to clipboard

cannot parse as variant of the specified type

Link copied to clipboard

an unexpected token was encountered

Link copied to clipboard

an unknown keyword was encountered

Link copied to clipboard

unterminated string constant

Link copied to clipboard

no value given

Link copied to clipboard

variant was too deeply nested; #GVariant is only guaranteed to handle nesting up to 64 levels (Since: 2.64)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val nativeValue: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.