Program logic bugs vs input/environmental errors

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 28 12:33:33 PDT 2014


On 2014-09-28 19:36, Walter Bright wrote:

> I suggest removal of stack trace for exceptions, but leaving them in for
> asserts.

If you don't like the stack track, just wrap the "main" function in a 
try-catch block, catch all exceptions and print the error message.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list