On Tuesday, 5 January 2021 at 19:42:40 UTC, Ola Fosheim Grøstad
wrote:
On Tuesday, 5 January 2021 at 18:23:25 UTC, sighoya wrote:
No error handling model was the HIT and will never be,
therefore I would recommend to leave things as they are and to
develop alternatives and not to replace existing ones.
Or implement C++ exceptions, so that D can catch C++ exceptions
transparently (ldc catch clang++ exceptions and gdc catch g++
exceptions).
Walter already got quite a lot of the way there on that. There
are some PRs on dmd about it but it's not in a state worth
documenting yet if it's still there (the tests are still there so
I assume it still works)