///|
/// Why a statement could not be parsed.
pub(all) suberror ParseError {
  /// Valid PartiQL that this version does not parse yet: DML and DDL
  /// statements such as INSERT or CREATE.
  Unsupported(message~ : String, span~ : Span)
  /// Not valid PartiQL. `expected` lists what the parser could accept at
  /// `span`; `found` describes what it found there.
  Syntax(
    message~ : String,
    span~ : Span,
    expected~ : Array[String],
    found~ : String
  )
} derive(Debug, Eq)