Exporting the type is not enough. You need to mark the fields you want to
export with an * too. So, here, put an * after "extraData":
type myModuleException* = ref object of Exception
extraData* : uint32
Run
- How to export custom exception types? mp035
- Re: How to export custom exception types? SolitudeSF
- Re: How to export custom exception types? lscrd
