This updates the req
dependency to 0.5.0.
Impact
Req no longer raises an error when the response can't be decoded. Instead it returns the Jason.DecodeError. In order to handle this the api adapter now returns a TaxJar.Response.Error
with the following:
- reason: :
json_decode_error
- message: The human readable Jason.DecodeError message
- details: The received Jason.DecodeError struct