Exception: Openwsman::Exception
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Openwsman::Exception
- Defined in:
- lib/wbem/wsman.rb
Overview
Capture Fault as Exception
Instance Method Summary collapse
-
#initialize(fault) ⇒ Exception
constructor
A new instance of Exception.
- #to_s ⇒ Object
Constructor Details
Instance Method Details
#to_s ⇒ Object
34 35 36 37 38 |
# File 'lib/wbem/wsman.rb', line 34 def to_s "Fault code #{@fault.code}, subcode #{@fault.subcode}" + "\n\treason #{@fault.reason}" + "\n\tdetail #{@fault.detail}" end |