On 12-12-17 00:35, Seb wrote:
D style would be to use sth. like this (instead of try/catch):``` scope(failure) { e.msg.writeln; 1.exit; } ```
I might have missed something, but where is `e` defined in this case? -- Mike Wey
Mike Wey via Digitalmars-d-learn Tue, 12 Dec 2017 10:35:49 -0800
On 12-12-17 00:35, Seb wrote:
D style would be to use sth. like this (instead of try/catch):``` scope(failure) { e.msg.writeln; 1.exit; } ```
I might have missed something, but where is `e` defined in this case? -- Mike Wey