In Files

  • soap/soap.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

SOAP::FaultError

Attributes

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

Public Class Methods

new(fault) click to toggle source
 
               # File soap/soap.rb, line 89
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 soap/soap.rb, line 97
def to_s
  str = nil
  if @faultstring and @faultstring.respond_to?('data')
    str = @faultstring.data
  end
  str || '(No faultstring)'
end