Lines Matching defs:Exception
41 use Exception;
43 use GuzzleHttp\Ring\Exception\ConnectException;
44 use GuzzleHttp\Ring\Exception\RingException;
435 * @param \Exception $exception
439 public function logRequestFail(array $request, array $response, \Exception $exception): void
671 * @var \Exception $exception
707 * @var \Exception $exception
711 $exceptionText = "[$statusCode Server Exception] ".$exception->getMessage();
737 private function convertBodyToString($body, int $statusCode, Exception $exception) : string
746 // if body is not string, we convert it so it can be used as Exception message
801 // if responseBody is not string, we convert it so it can be used as Exception message