for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types = 1);
namespace SlevomatCsobGateway\Api;
use RuntimeException;
abstract class RequestException extends RuntimeException
{
/** @var Response */
private $response;
public function __construct(string $message, Response $response)
parent::__construct($message);
$this->response = $response;
}
public function getResponse(): Response
return $this->response;