Module scriptlike.fail

Functions

Name Description
fail 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 Calls fail() if the condition is false.

Classes

Name Description
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.

Authors

Nick Sabalausky

Copyright

Copyright (C) 2014-2015 Nick Sabalausky

License

zlib/libpng