Fail

In your main(), catch this Fail exception, then output Fail.msg and return an error code.

Constructors

this
this(string msg, string file, int line)
Undocumented in source.

Examples

int main() { try { // Your code here } catch(Fail e) { writeln("mytool: ERROR: ", e.msg); return 1; }

return 0; }

Meta