module GLI::StandardException

Mixed into all exceptions that GLI handles; you can use this to catch anything that came from GLI intentionally. You can also mix this into non-GLI exceptions to get GLI’s exit behavior.

Public Instance Methods

exit_code() click to toggle source
# File lib/gli/exceptions.rb, line 6
def exit_code; 1; end