parser
public enum parser : Error
Parser related errors
-
Thrown when GPX version is < 1.1
Declaration
Swift
case unsupportedVersion -
When an issue occurred at line, but without further comment.
Declaration
Swift
case issueAt(line: Int) -
Thrown when issue occurred at line. (Mostly wraps XML parser errors)
Declaration
Swift
case issueAt(line: Int, error: Error) -
Thrown when file is XML, but not GPX.
Declaration
Swift
case fileIsNotGPX -
Thrown when file is not XML, let alone GPX.
Declaration
Swift
case fileIsNotXMLBased -
Thrown when file does not conform schema. (unused)
Declaration
Swift
case fileDoesNotConformSchema -
Thrown when file is presumed to be empty.
Declaration
Swift
case fileIsEmpty -
When multiple errors occurred, to give an array of errors.
Declaration
Swift
case multipleErrorsOccurred(_: [Error])
View on GitHub
parser Enumeration Reference