On 2012-10-01 06:19, Walter Bright wrote:
Also, consider that in C++ you can throw any type, such as an int. There is no credible way to make this work reasonably in D, as exceptions are all derived from Exception.
Really, I had not idea that was possible. A workaround could be to convert to a string, wrap it in an exception class and pass to D.
-- /Jacob Carlborg
