Open yuyamashiro opened 3 years ago
I'm also interested how nimpy exceptions can be catched. Or how Python Exceptions could be raised from nim.
This is a very old issue, but it's affecting me too, and I think I have a way to fix nimpy
to raise native python exceptions when possible.
Made a PR for this: https://github.com/yglukhov/nimpy/pull/300
I want to except nimpy.KeyError. However I can't do it.
Example:
Output
How do I catch nimpy.KeyError?