How to Retrieve form_params used from a Guzzle BadResponseException (ClientException || ServerException) Object?
I couldn't find it in the documentation.
try {
$reponse = $this->client->post($uri, [
'form_params' => $params,
'headers' => $this->getHeaders()
]);
} catch (RequestException $e){
/// get form_params here without accessing $params
}