Skip to content

Conversation

@innermatrix
Copy link
Owner

Currently, if variable A value function throws custom subclass of Error, that custom subclass is lost when the error is converted to RuntimeError, and is subsequently unavailable in the custom inspector. This PR puts the original error in RuntimeError.cause, thereby making it available to custom inspectors. Behavior of default inspector is unchanged.

@innermatrix innermatrix marked this pull request as ready for review December 1, 2021 04:50
@innermatrix innermatrix merged commit 865a2fc into main Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants