chykon / svart

Svart is an embedded (in Dart) domain-specific language for describing binary circuits, generating a strict subset of SystemVerilog and easily interacting with external tools.
MIT No Attribution
2 stars 0 forks source link

Improve exceptions #10

Open chykon opened 1 year ago

chykon commented 1 year ago

Exceptions should generate more informative messages for humans and possibly make them easier to handle in code.

For example, an informative string will be available to the user, and for processing in the code, the exception object will also contain fields with the necessary data.

See also some drafts: https://github.com/chykon/svart/tree/chykon-improved-exceptions