Class SOAP::FaultError
In: lib/soap/soap.rb
Parent: Error

Methods

new   to_s  

Attributes

detail  [RW] 
faultactor  [R] 
faultcode  [R] 
faultstring  [R] 

Public Class methods

[Source]

    # File lib/soap/soap.rb, line 89
89:   def initialize(fault)
90:     @faultcode = fault.faultcode
91:     @faultstring = fault.faultstring
92:     @faultactor = fault.faultactor
93:     @detail = fault.detail
94:     super(self.to_s)
95:   end

Public Instance methods

[Source]

     # File lib/soap/soap.rb, line 97
 97:   def to_s
 98:     str = nil
 99:     if @faultstring and @faultstring.respond_to?('data')
100:       str = @faultstring.data
101:     end
102:     str || '(No faultstring)'
103:   end

[Validate]