As mentioned in [https://forum.nim-lang.org/t/2863#17817](https://forum.nim-lang.org/t/2863#17817) we now throw errors with: type MyCustomError* = object of Exception ... proc doStuff(): int = raise newException(MyCustomError, "didn't do stuff") Run
what if I want add informations, like: {"message": "Invalid value", "position": {"line": 1, "column": 2, "from": "formatTime"}} Run can I do that in Nim? Or do I have to encode that in the string for the purpose that I can catch information from outer functions?