AEXMLError
public enum AEXMLError : Error
A type representing error value that can be thrown or inside error property of XML.
-
This will be inside
errorproperty ofXMLwhen subscript is used for not-existing element.Declaration
Swift
case elementNotFound -
This will be inside
errorproperty ofAEXMLDocumentwhen there is no root element.Declaration
Swift
case rootElementMissing -
AEXMLDocumentcan throw this error oninitorloadXMLDataif parsing withXMLParserwas not successful.Declaration
Swift
case parsingFailed
AEXMLError Enumeration Reference