command
command copied to clipboard
Fix Guzzle error processing with http_errors=true
When Guzzle option http_errors=true this errorResponses not processing and this code skipped during exception:
yield $this->transformResponseToResult($response, $request, $command);
This fix allow errorResponses mappings from Description.
If error not found in errorResponses than Guzzle error will propagate.
@GrahamCampbell Done
Could you add a unit test please? Then I'll be happy to merge.
@GrahamCampbell sorry, have not time for continue this pr. Can you help me with tests?
I don't have any capacity for this. I think we just need to say that that we require people not use that mode.