The standard Nim exception just has a name and a message as you've discovered. But by inheriting from one of the `Exception` objects (probably you'll want to inherit from `Defect`) you can define any number of fields or collections to go along with your exception.
- Exceptions which can hold / pass an object? HJarausch
- Exceptions which can hold / pass an object? haxscramper_
- Exceptions which can hold / pass an object? HJarausch
- Exceptions which can hold / pass an object? PMunch