Exception: WsdlMapper::Runtime::Errors::SoapFault

Inherits:
Error
  • Object
show all
Defined in:
lib/wsdl_mapper/runtime/errors.rb

Instance Attribute Summary (collapse)

Attributes inherited from Error

#cause

Instance Method Summary (collapse)

Constructor Details

- (SoapFault) initialize(fault, cause = $!)

Returns a new instance of SoapFault



35
36
37
38
# File 'lib/wsdl_mapper/runtime/errors.rb', line 35

def initialize(fault, cause = $!)
  super fault.string, cause
  @fault = fault
end

Instance Attribute Details

- (Object) fault (readonly)

Returns the value of attribute fault



33
34
35
# File 'lib/wsdl_mapper/runtime/errors.rb', line 33

def fault
  @fault
end