Exception: Savon::SOAPFault

Inherits:
StandardError
  • Object
show all
Defined in:
lib/savon.rb

Overview

Raised in case of a SOAP fault.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, error_code) ⇒ SOAPFault

Returns a new instance of SOAPFault.



29
30
31
32
# File 'lib/savon.rb', line 29

def initialize(message, error_code)
  super(message)
  @error_code = error_code
end

Instance Attribute Details

#error_codeObject (readonly)

Returns the value of attribute error_code.



27
28
29
# File 'lib/savon.rb', line 27

def error_code
  @error_code
end