Module: Coglius::StandardException

Included in:
BadCommandLine, CustomExit
Defined in:
lib/coglius/exceptions.rb

Overview

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

Instance Method Summary collapse

Instance Method Details

#exit_codeObject



6
# File 'lib/coglius/exceptions.rb', line 6

def exit_code; 1; end