Skip to content

0.3.0

Latest
Compare
Choose a tag to compare
@heroinbob heroinbob released this 29 May 14:05
a43ff59

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