anoma / vamp-ir

Vamp-IR is a proof-system-agnostic language for writing arithmetic circuits
https://anoma.github.io/VampIR-Book/
Apache License 2.0
156 stars 44 forks source link

Improve error reporting #80

Closed lopeetall closed 1 year ago

lopeetall commented 1 year ago

Errors are somewhat ad-hoc at the moment. Some are merely printed to the screen and others are panics with less-than-helpful descriptions. We should provide a Vamp-IR error enum that handles errors and gives more helpful descriptions.

Error classes: