knowsys / nemo

A fast in-memory rule engine
https://knowsys.github.io/nemo-doc/
Apache License 2.0
78 stars 7 forks source link

Redesign error messages #219

Closed mmarx closed 1 month ago

mmarx commented 1 year ago

Rework the way error messages are displayed to the user. Errors should ideally be easy to identify, be concise, yet still understandable. In particular, we might want to simplify the formatting of parse errors to

mmarx commented 1 year ago

Instead of the top-level parse error, we might also want to have the most-specific (i.e., bottom-most) non-SyntaxError parse error, which should be closer to the actual problem. More generally, consider reversing the order we show the errors in.

monsterkrampe commented 2 months ago

Should be addressed by #455