Exception: TaxCloud::Errors::ApiError
- Inherits:
-
TaxCloudError
- Object
- StandardError
- TaxCloudError
- TaxCloud::Errors::ApiError
- Defined in:
- lib/tax_cloud/errors/api_error.rb
Overview
This error is raised when the TaxCloud service returns an error from an API.
Instance Attribute Summary
Attributes inherited from TaxCloudError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize(message, raw) ⇒ ApiError
constructor
Parameters [message] Error message.
Methods inherited from TaxCloudError
Constructor Details
#initialize(message, raw) ⇒ ApiError
Parameters
- message
-
Error message.
- raw
-
Raw data from the SOAP response.
10 11 12 13 14 15 |
# File 'lib/tax_cloud/errors/api_error.rb', line 10 def initialize(, raw) super(('api_error', message: , raw: raw )) end |