php - Guzzle not throwing exceptions
one text
Solution:
You can try this code:
$handler = new CurlHandler();
$stack = HandlerStack::create($handler);
Sourceone text
You can try this code:
$handler = new CurlHandler();
$stack = HandlerStack::create($handler);
Source