Hide detailed exception information from users
Hi Chris,
It's very nice that Odin has a console logger to display information to the users. While I enjoy this feature very much, I'm wondering if it's possible to add a feature that allows developers to hide detailed information of Exceptions (for example, stack trace) from users.
My use case: I'm creating a console app which uses Odin as a command line parser. A user needs to pass in directory paths. If any path is invalid, the program throws an exception. I want the user to see what happened (an was exception thrown due to invalid directory path), but I don't want the user to see the stack trace for security reason.
I would suggest a feature that allows developers to switch between displaying general exception info to users and displaying detailed exception info.
Let me know how you think about it.
Thanks!