metabase / macaw

A Clojure wrapper for JSqlParser 🦜
Eclipse Public License 1.0
6 stars 1 forks source link

Throw structured error messages #93

Open crisptrutski opened 2 weeks ago

crisptrutski commented 2 weeks ago

Currently we expose raw JSQLParserExceptions, which leak internal details, and are not pleasant to handle from Clojure.

We should turn these into ex-info exceptions, for example net.sf.jsqlparser.parser.ParseException is important for queries we cannot tokenize.