Exception: RbVmomi::Fault

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rbvmomi.rb

Overview

XXX fault class hierarchy

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, fault) ⇒ Fault

Returns a new instance of Fault.



249
250
251
252
# File 'lib/rbvmomi.rb', line 249

def initialize msg, fault
  super "#{fault.class.wsdl_name}: #{msg}"
  @fault = fault
end

Instance Attribute Details

#faultObject (readonly)

Returns the value of attribute fault.



247
248
249
# File 'lib/rbvmomi.rb', line 247

def fault
  @fault
end