Thanks!
Just to clarify for others:
type
MyCustomError* = object of Exception
...
proc doStuff(): int =
raise newException(MyCustomError, "didn't do stuff")
Thanks!
Just to clarify for others:
type
MyCustomError* = object of Exception
...
proc doStuff(): int =
raise newException(MyCustomError, "didn't do stuff")