Exception: RbVmomi::Fault
- Inherits:
-
StandardError
- Object
- StandardError
- RbVmomi::Fault
- Defined in:
- lib/rbvmomi.rb
Overview
XXX fault class hierarchy
Instance Attribute Summary collapse
-
#fault ⇒ Object
readonly
Returns the value of attribute fault.
Instance Method Summary collapse
-
#initialize(msg, fault) ⇒ Fault
constructor
A new instance of Fault.
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
#fault ⇒ Object (readonly)
Returns the value of attribute fault.
247 248 249 |
# File 'lib/rbvmomi.rb', line 247 def fault @fault end |