An error type that indicates the furthest-successful parse, and provides a stack trace detailing how the parser got there.
@frozen struct ParsingError<Index>
None of the structured parsers defined in
swift-grammar throw this error directly. Instead, the
DefaultDiagnostics engine computes it based on the diagnostic engine’s internal state when encountering invalid input.
ParsingRule implementations should not throw this error either.