scriptlike.fail

Members

Classes

Fail
class Fail

This is the exception thrown by fail(). There's no need to create or throw this directly, but it's public in case you have reason to catch it.

Functions

fail
void fail(T args)

Call this to end your program with an error message for the user, and no ugly stack trace. The error message is sent to stderr and the errorlevel is set to non-zero.

failEnforce
void failEnforce(bool cond, T args)

Calls fail() if the condition is false.

Meta

Authors

Nick Sabalausky