Class: Vagrant::LXC::Errors::ExecuteError
- Inherits:
-
Errors::VagrantError
- Object
- Errors::VagrantError
- Vagrant::LXC::Errors::ExecuteError
- Defined in:
- lib/vagrant-lxc/errors.rb
Instance Attribute Summary collapse
-
#stderr ⇒ Object
readonly
Returns the value of attribute stderr.
-
#stdout ⇒ Object
readonly
Returns the value of attribute stdout.
Instance Method Summary collapse
-
#initialize(message, *args) ⇒ ExecuteError
constructor
A new instance of ExecuteError.
Constructor Details
#initialize(message, *args) ⇒ ExecuteError
Returns a new instance of ExecuteError.
9 10 11 12 13 14 15 |
# File 'lib/vagrant-lxc/errors.rb', line 9 def initialize(, *args) super if .is_a?(Hash) @stderr = [:stderr] @stdout = [:stdout] end end |
Instance Attribute Details
#stderr ⇒ Object (readonly)
Returns the value of attribute stderr.
8 9 10 |
# File 'lib/vagrant-lxc/errors.rb', line 8 def stderr @stderr end |
#stdout ⇒ Object (readonly)
Returns the value of attribute stdout.
8 9 10 |
# File 'lib/vagrant-lxc/errors.rb', line 8 def stdout @stdout end |