bigcommerce-api-php
bigcommerce-api-php copied to clipboard
Add response headers to the error exceptions
Expected behavior
As an API user, I would like to see the response headers when I encounter an error, either 4xx or 5xx. This will increase the ability to understand what has gone wrong
Actual behavior
Exceptions are raised without header responses
Steps to reproduce behavior
Trigger any 4xx (or 5xx if it happens)