:right-sidebar: True MarkupError =================================================================== .. currentmodule:: gi.repository.GLib .. class:: MarkupError :no-contents-entry: Error codes returned by markup parsing. Fields ------ .. rst-class:: interim-class .. class:: MarkupError :no-index: .. attribute:: BAD_UTF8 Text being parsed was not valid UTF-8 .. attribute:: EMPTY Document contained nothing, or only whitespace .. attribute:: INVALID_CONTENT Error should be set by :obj:`~gi.repository.GLib.MarkupParser` functions; content was invalid .. attribute:: MISSING_ATTRIBUTE Error should be set by :obj:`~gi.repository.GLib.MarkupParser` functions; a required attribute was missing .. attribute:: PARSE Document was ill-formed .. attribute:: UNKNOWN_ATTRIBUTE Error should be set by :obj:`~gi.repository.GLib.MarkupParser` functions; attribute wasn't known .. attribute:: UNKNOWN_ELEMENT Error should be set by :obj:`~gi.repository.GLib.MarkupParser` functions; element wasn't known