def _from_xml(self, element):
ErrorElement._from_xml(self, element)<EOL>error_type = element.get("<STR_LIT:type>")<EOL>if error_type:<EOL><INDENT>self.error_type = error_type<EOL><DEDENT>
Initialize an ErrorElement object from an XML element.

        :Parameters:
            - `element`: XML element to be decoded.
        :Types:
            - `element`: :etree:`ElementTree.Element`