On Wednesday, 19 October 2022 at 16:47:49 UTC, data pulverizer
wrote:
On Wednesday, 19 October 2022 at 14:05:35 UTC, data pulverizer
wrote:
Hi all,
I am calling code from a C API, and would like to know how to
catch exit errors so that they can be handled and make them
more like an exceptions so that the computation can continue.
I've tried something similar to what is outlined here:
https://dlang.org/phobos/object.html#.Error but it doesn't
work, the process dies in the try block.
Thanks
It's okay, I've found a work around.
Always good to share what it is, for future readers who have the
same question