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.



21
22
23
24
# File 'lib/fog/ovirt.rb', line 21

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.



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

def orig_exception
  @orig_exception
end