PrologSyntaxException
Root of all typed lexical and grammatical diagnostics produced by parser-impl.
Consumers should normally catch this type, then inspect code for stable programmatic classification. Coordinates in span are zero-based and end-exclusive. Higher-level parser-core and parser-theory APIs wrap this exception in their domain-facing ParseException while preserving it as the cause.
Parameters
message
human-readable diagnostic
cause
underlying source or decoding failure, if any