AEXMLError

public enum AEXMLError : Error

A type representing error value that can be thrown or inside error property of XML.

  • This will be inside error property of XML when subscript is used for not-existing element.

    Declaration

    Swift

    case elementNotFound
  • This will be inside error property of AEXMLDocument when there is no root element.

    Declaration

    Swift

    case rootElementMissing
  • AEXMLDocument can throw this error on init or loadXMLData if parsing with XMLParser was not successful.

    Declaration

    Swift

    case parsingFailed