Exception: WBEM::CIMError

Inherits:
Exception
  • Object
show all
Defined in:
lib/wbem/cim_operations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code) ⇒ CIMError

Returns a new instance of CIMError.



49
50
51
# File 'lib/wbem/cim_operations.rb', line 49

def initialize(code)
    @code = code
end

Instance Attribute Details

#codeObject (readonly)

“”“Raised when something bad happens. The associated value is a tuple of (error_code, description). An error code of zero indicates an XML parsing error in RubyWBEM.”“”



48
49
50
# File 'lib/wbem/cim_operations.rb', line 48

def code
  @code
end