Capture exceptions and expose them to the REPL #289
Comments
Actually this might not be unique to ThreadDeath; any exception that gets thrown should be made available as a By making these uncaught exceptions available to the shell session by default, we could save a lot of annoying re-running-code-with-try-catch during interactive development and exploration |
Turn out the normal REPL has a mutable |
This has been fixed in 0.5.5; thanks @CoderAbhishek ! |
EDIT: Original issue was for
ThreadDeath
, but this will be useful for any exceptionThis can be exposed to the REPL as a value, and would be useful for a variety of reasons:
Currently it just prints
When you interrupt it. We could instead assign it to some value
Which would both show the user that it was interrupted, and let them dig deeper if they wished to
The text was updated successfully, but these errors were encountered: