Exception: TaxCloud::Errors::UnexpectedSoapResponse
- Inherits:
-
TaxCloudError
- Object
- StandardError
- TaxCloudError
- TaxCloud::Errors::UnexpectedSoapResponse
- Defined in:
- lib/tax_cloud/errors/unexpected_soap_response_error.rb
Overview
This error is raised when TaxCloud returns an unexpected SOAP response.
Instance Attribute Summary
Attributes inherited from TaxCloudError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize(raw, key, chain) ⇒ UnexpectedSoapResponse
constructor
Parameters [raw] Raw data from the SOAP response.
Methods inherited from TaxCloudError
Constructor Details
#initialize(raw, key, chain) ⇒ UnexpectedSoapResponse
Parameters
- raw
-
Raw data from the SOAP response.
- key
-
Expected key in the SOAP response.
- chain
-
Complete SOAP response chain in which the key could not be found.
11 12 13 14 15 16 17 |
# File 'lib/tax_cloud/errors/unexpected_soap_response_error.rb', line 11 def initialize(raw, key, chain) super(('unexpected_soap_response', key: key, raw: raw, chain: chain )) end |