bigcommerce-api-php icon indicating copy to clipboard operation
bigcommerce-api-php copied to clipboard

Add response headers to the error exceptions

Open serroba opened this issue 3 years ago • 0 comments

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)

serroba avatar Oct 07 '21 22:10 serroba