Class: Fog::Ovirt::Errors::OvirtEngineError
- Inherits:
-
OvirtError
- Object
- Errors::Error
- OvirtError
- Fog::Ovirt::Errors::OvirtEngineError
- Defined in:
- lib/fog/ovirt.rb
Instance Attribute Summary collapse
-
#orig_exception ⇒ Object
readonly
Returns the value of attribute orig_exception.
Instance Method Summary collapse
-
#initialize(exception) ⇒ OvirtEngineError
constructor
A new instance of OvirtEngineError.
Constructor Details
#initialize(exception) ⇒ OvirtEngineError
Returns a new instance of OvirtEngineError.
20 21 22 23 |
# File 'lib/fog/ovirt.rb', line 20 def initialize(exception) @orig_exception = exception super("Ovirt client returned an error: #{@orig_exception.}") end |
Instance Attribute Details
#orig_exception ⇒ Object (readonly)
Returns the value of attribute orig_exception.
18 19 20 |
# File 'lib/fog/ovirt.rb', line 18 def orig_exception @orig_exception end |