moosetechnology / MoosePy

To manage importing Python code into moose python metamodel
1 stars 3 forks source link

Implement a system of error reporting #18

Closed jecisc closed 1 month ago

jecisc commented 1 month ago

If an error happens during the parsing everything stop and we produce nothing but a debugger.

I want to introduce a system to catch errors and add them to a report in the importer. During dev maybe the report can be automatically inspected if it's not empty?

I'm thinking about adding catch in the #acceptNode: method and probably also during the symbol resolution.