Exception: Heroku::Commander::Errors::CommandError
- Defined in:
- lib/heroku/commander/errors/command_error.rb
Instance Attribute Summary collapse
-
#inner_exception ⇒ Object
Returns the value of attribute inner_exception.
Attributes inherited from Base
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ CommandError
constructor
A new instance of CommandError.
Methods inherited from Base
Constructor Details
#initialize(opts = {}) ⇒ CommandError
Returns a new instance of CommandError.
8 9 10 11 12 13 14 15 |
# File 'lib/heroku/commander/errors/command_error.rb', line 8 def initialize(opts = {}) @inner_exception = opts[:inner_exception] opts = opts.dup prepare_lines(opts) (opts) prepare_pid(opts) super(("command_error", opts)) end |
Instance Attribute Details
#inner_exception ⇒ Object
Returns the value of attribute inner_exception.
6 7 8 |
# File 'lib/heroku/commander/errors/command_error.rb', line 6 def inner_exception @inner_exception end |