main

Mix in a main function, which should be adequate for most end-user programs.

In debug mode (-debug), this is a pass-through. Otherwise, this will catch uncaught exceptions, and display only the message (sans stack trace) to the user - on standard error, or, for Windows GUI programs, in a message box.

mixin template main (
alias realMain
) {}

Members

Functions

main
int main(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
run
int run(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta