class TaxCloud::Errors::UnexpectedSoapResponse

This error is raised when TaxCloud returns an unexpected SOAP response.

Public Class Methods

new(raw, key, chain) click to toggle source

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.

Calls superclass method
# File lib/tax_cloud/errors/unexpected_soap_response_error.rb, line 12
def initialize(raw, key, chain)
  super(compose_message('unexpected_soap_response',
                        key: key,
                        raw: raw,
                        chain: chain))
end