SvgError
Description:
[ CCode ( cprefix = "GTK_SVG_ERROR_" , type_id = "gtk_svg_error_get_type ()" ) ]
[ Version ( since = "4.22" ) ]
public errordomain SvgError
Error codes in the `GTK_SVG_ERROR` domain for errors that happen during parsing or rendering of SVG.
Content:
Error codes:
- FAILED_RENDERING - Rendering is not
according to expecations
- FAILED_UPDATE - An animation could not
be updated
- INVALID_ATTRIBUTE - An attribute is
invalid (either because it is not part of SVG, or because it is not implemented in GTK, or its value is problematic)
- INVALID_ELEMENT - An XML element is
invalid (either because it is not part of SVG, or because it is in the wrong place, or because it not implemented in GTK)
- INVALID_REFERENCE - A reference does
not point to a suitable element
- INVALID_SYNTAX - The XML syntax is
broken in some way
- MISSING_ATTRIBUTE - A required
attribute is missing
Static methods:
- public static unowned string? get_attribute (Error error)
Returns context information about what XML attribute the parsing error
occurred in.
- public static unowned string? get_element (Error error)
Returns context information about what XML element the parsing error
occurred in.
- public static unowned SvgLocation? get_end (Error error)
Returns context information about the end position in the document where the
parsing error occurred.
- public static unowned SvgLocation? get_start (Error error)
Returns context information about the start position in the document where
the parsing error occurred.
- public static Quark quark ()