runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Propagate original error in RuntimeError.cause (#1)

Open innermatrix opened this issue 4 years ago • 0 comments

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

innermatrix avatar Dec 01 '21 04:12 innermatrix