Exception: Savon::SOAPFault
Overview
Raised in case of a SOAP fault.
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
Instance Method Summary collapse
-
#initialize(message, error_code) ⇒ SOAPFault
constructor
A new instance of SOAPFault.
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(, error_code) super() @error_code = error_code end |
Instance Attribute Details
#error_code ⇒ Object (readonly)
Returns the value of attribute error_code.
27 28 29 |
# File 'lib/savon.rb', line 27 def error_code @error_code end |