class Rzo::App::ErrorAndExit

Exception used to exit the app from a subcommand. Caught by the main run method in the app controller

Attributes

exit_status[RW]
log_fatal[RW]

Public Class Methods

new(message = nil, exit_status = 1) click to toggle source
Calls superclass method
# File lib/rzo/app.rb, line 29
def initialize(message = nil, exit_status = 1)
  super(message)
  self.exit_status = exit_status
  self.log_fatal = []
end