Fail

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

class Fail : Exception {}

Members

Functions

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Examples

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

return 0; }

Meta