Class: Fog::Ovirt::Errors::OvirtEngineError

Inherits:
OvirtError
  • Object
show all
Defined in:
lib/fog/ovirt.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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.message}")
end

Instance Attribute Details

#orig_exceptionObject (readonly)

Returns the value of attribute orig_exception.



18
19
20
# File 'lib/fog/ovirt.rb', line 18

def orig_exception
  @orig_exception
end