Exception: SOAP::FaultError
Instance Attribute Summary collapse
- 
  
    
      #detail  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute detail.
 - 
  
    
      #faultactor  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute faultactor.
 - 
  
    
      #faultcode  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute faultcode.
 - 
  
    
      #faultstring  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute faultstring.
 
Instance Method Summary collapse
- 
  
    
      #initialize(fault)  ⇒ FaultError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of FaultError.
 - #to_s ⇒ Object
 
Constructor Details
#initialize(fault) ⇒ FaultError
Returns a new instance of FaultError.
      89 90 91 92 93 94 95  | 
    
      # File 'lib/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  | 
  
Instance Attribute Details
#detail ⇒ Object
Returns the value of attribute detail.
      87 88 89  | 
    
      # File 'lib/soap/soap.rb', line 87 def detail @detail end  | 
  
#faultactor ⇒ Object (readonly)
Returns the value of attribute faultactor.
      86 87 88  | 
    
      # File 'lib/soap/soap.rb', line 86 def faultactor @faultactor end  | 
  
#faultcode ⇒ Object (readonly)
Returns the value of attribute faultcode.
      84 85 86  | 
    
      # File 'lib/soap/soap.rb', line 84 def faultcode @faultcode end  | 
  
#faultstring ⇒ Object (readonly)
Returns the value of attribute faultstring.
      85 86 87  | 
    
      # File 'lib/soap/soap.rb', line 85 def faultstring @faultstring end  | 
  
Instance Method Details
#to_s ⇒ Object
      97 98 99 100 101 102 103  | 
    
      # File 'lib/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  |