Error
public enum Error: ParseError, CustomStringConvertible
Errors that could occur while lexical parsing
-
an unexpected token occured
- expected: a description of what was expected
- got: the actual value at that position
Declaration
Swift
case unexpectedToken(expected: String, got: String)
-
Declaration
Swift
public var description: String