Throwing exception crashes python #5029
Replies: 1 comment
-
This is a duplication of this thread. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am throwing a custom exception, registering that exception with my module and testing this behavior.
I have done this following the examples set in documentation here.
I have found that in the trivial cases, everything works as expected. But, when my function signatures include a string or when throwing the exception in a class method, the kernel dies.
The following is an example which reproduces this:
Certainly I am doing something incorrectly here, but am at a loss as to where.
Beta Was this translation helpful? Give feedback.
All reactions