Exception: ThreddedCreateApp::CLI::ExecutionError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- ThreddedCreateApp::CLI::ExecutionError
- Defined in:
- lib/thredded_create_app/cli.rb
Instance Attribute Summary collapse
-
#exit_code ⇒ Object
readonly
Returns the value of attribute exit_code.
Instance Method Summary collapse
-
#initialize(message, exit_code) ⇒ ExecutionError
constructor
A new instance of ExecutionError.
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(, exit_code) super() @exit_code = exit_code end |
Instance Attribute Details
#exit_code ⇒ Object (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 |