Enumeration
SwiftSymbolParseError
public enum SwiftSymbolParseError
A type for representing the different possible failure conditions when using ScalarScanner
Relationships
Conforms To
Error
Enumeration Cases
utf8ParseError
case utf8ParseError
Attempted to convert the buffer to UnicodeScalars but the buffer contained invalid data
unexpected
case unexpected(at: Int)
The scalar at the specified index doesn't match the expected grammar
matchFailed
case matchFailed(wanted: String, at: Int)
Expected wanted
at offset at
expectedInt
case expectedInt(at: Int)
Expected numerals at offset at
endedPrematurely
case endedPrematurely(count: Int, at: Int)
Attempted to read count
scalars from position at
but hit the end of the sequence
searchFailed
case searchFailed(wanted: String, after: Int)
Unable to find search patter wanted
at or after after
in the sequence
integerOverflow
case integerOverflow(at: Int)