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.

Reply via email to