Exception: ThreddedCreateApp::CLI::ExecutionError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/thredded_create_app/cli.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, exit_code) ⇒ ExecutionError

Returns a new instance of ExecutionError.



192
193
194
195
# File 'lib/thredded_create_app/cli.rb', line 192

def initialize(message, exit_code)
  super(message)
  @exit_code = exit_code
end

Instance Attribute Details

#exit_codeObject (readonly)

Returns the value of attribute exit_code.



190
191
192
# File 'lib/thredded_create_app/cli.rb', line 190

def exit_code
  @exit_code
end