waf / CSharpRepl

A command line C# REPL with syntax highlighting – explore the language, libraries and nuget packages interactively.
https://fuqua.io/CSharpRepl/
Mozilla Public License 2.0
2.76k stars 106 forks source link

Display type of exception when an exception is thrown. #335

Closed JesseRussell411 closed 6 months ago

JesseRussell411 commented 6 months ago

Feature Description

I think it would be very useful to know what kind of exception was thrown if one is thrown. image

like this

> throw new Exception("an error occured an error occured an error occured");
┌─────────────────────Exception──────────────────────┐
│ an error occured an error occured an error occured │
└────────────────────────────────────────────────────┘                                                                  
> throw new AccessViolationException("a different error occured a different error occured");
┌──────────────AccessViolationException───────────────┐
│ a different error occured a different error occured │
└─────────────────────────────────────────────────────┘