.. highlightlang:: us .. _xml_geterrorcode: XML_GetErrorCode ================ .. index:: XML_GetErrorCode .. us.tag XML_GetErrorCode NOTREADYENGLISH New330 XML :ref:`XML_GetErrorCode` returns what type of error has occurred. .. function:: nCode = XML_GetErrorCode(hParser) .. us.return **Return Value** *nCode* is an error code. .. us.params **Parameters** .. uparam:: hParser *hParser* is the handle of a parser. .. seealso:: :ref:`overview-xml`, :ref:`XML_ErrorString` :sub:`id-1927401`