Exception: WsdlMapper::Runtime::Errors::Error

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

Direct Known Subclasses

HTTPError, SoapFault, TransportError

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Error) initialize(msg, cause = $!)

Returns a new instance of Error



7
8
9
10
# File 'lib/wsdl_mapper/runtime/errors.rb', line 7

def initialize(msg, cause = $!)
  super msg
  @cause = cause
end

Instance Attribute Details

- (Object) cause (readonly)

Returns the value of attribute cause



5
6
7
# File 'lib/wsdl_mapper/runtime/errors.rb', line 5

def cause
  @cause
end