Module scriptlike.fail

Functions

NameDescription
fail(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(cond, args) Calls fail() if the condition is false.

Classes

NameDescription
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.