class SOAP::FaultError
Attributes
detail[RW]
faultactor[R]
faultcode[R]
faultstring[R]
Public Class Methods
new(fault)
click to toggle source
Calls superclass method
# File lib/soap/soap.rb, line 102 def initialize(fault) @faultcode = fault.faultcode @faultstring = fault.faultstring @faultactor = fault.faultactor @detail = fault.detail super(self.to_s) end
Public Instance Methods
to_s()
click to toggle source
# File lib/soap/soap.rb, line 110 def to_s str = nil if @faultstring and @faultstring.respond_to?('data') str = @faultstring.data end str || '(No faultstring)' end