pub(crate) fn to_positional(error: &CliError) -> Vec<PositionalDiagnostic>Expand description
Extract any positional diagnostics carried by error.
Returns an empty Vec for errors that don’t reference SQL source — those
fall back to plain std::fmt::Display rendering at the call site.