Class: Fog::Ovirt::Errors::OvirtEngineError
- Inherits:
-
OvirtError
- Object
- Errors::Error
- OvirtError
- Fog::Ovirt::Errors::OvirtEngineError
- Defined in:
- lib/fog/ovirt/core.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.
17 18 19 20 |
# File 'lib/fog/ovirt/core.rb', line 17 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.
15 16 17 |
# File 'lib/fog/ovirt/core.rb', line 15 def orig_exception @orig_exception end |