aroberge / ideas

Easy creation of custom import hooks to experiment on alternatives to Python's syntax; see https://aroberge.github.io/ideas/docs/html/
Other
79 stars 4 forks source link

Improve error handling #29

Open zmievsa opened 2 years ago

zmievsa commented 2 years ago

There are a few moments in the code base with unhandled exceptions that could make it harder to the users to understand the errors. Examples:

I am not touching on examples because they obviously need a bit less error handling.

aroberge commented 2 years ago

I've actually been thinking of removing experimental_syntax_encoding.py after working on https://github.com/aroberge/ideas/blob/master/ideas/examples/experimental_syntax.py which I find more versatile. I don't believe that it suffers from the same kind of problems. However, I do need to document it.