How to Handle Guzzle Exception
dearteno opened this issue · 1 comments
dearteno commented
i got Client error response [status code] 400 form API but can not handle
he said
"Guzzle \ Http \ Exception \ ClientErrorResponseException
Client error response [status code] 400 [reason phrase] Bad Request [url] "
how to handle RequestException and ClientException .
teepluss commented
try {
//
} catch (Guzzle\Http\Exception\ClientErrorResponseException $e) {
//
}