Exception: WBEM::CIMError
- Inherits:
-
Exception
- Object
- Exception
- WBEM::CIMError
- Defined in:
- lib/wbem/cim_operations.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
“”“Raised when something bad happens.
Instance Method Summary collapse
-
#initialize(code) ⇒ CIMError
constructor
A new instance of CIMError.
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
#code ⇒ Object (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 |