statebox/cql

Improve error messages

wisnesky opened this issue · 1 comments

Improve error messages

ADT-ifying the errors would be nice, but I'm more concerned with the content of the messages. My experience from AQL-java is that to get good ones often requires passing around additional 'context' that isn't needed for anything but error handling. In AQL-java we handled this on a case by case basis, whenever anyone found an error message they couldn't understand during real-world use of AQL.