Exception: TaxCloud::Errors::UnexpectedSoapResponse

Inherits:
TaxCloudError
  • Object
show all
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

Methods inherited from TaxCloudError

#compose_message

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(compose_message('unexpected_soap_response',
                        key: key,
                        raw: raw,
                        chain: chain
  ))
end