SystemExit
Raised by sys.exit(). If not caught, the interpreter exits cleanly. The args[0] attribute holds the exit status: 0 or None means success, any other integer is the exit code, a string is printed to stderr.
Raised by sys.exit(). If not caught, the interpreter exits cleanly. The args[0] attribute holds the exit status: 0 or None means success, any other integer is the exit code, a string is printed to stderr.
Raised by Kernel#exit. The status attribute holds the integer exit code. Not a StandardError; rescue it explicitly if needed.