for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CybozuHttp\Exception;
use Psr\Http\Message\ResponseInterface;
/**
* @author ochi51 <[email protected]>
*/
class RedirectResponseException extends \Exception implements ExceptionInterface
{
* @var ResponseInterface
private $response;
* RedirectResponseException constructor.
* @param string $message
* @param ResponseInterface $response
public function __construct($message, ResponseInterface $response)
$this->response = $response;
parent::__construct($message);
}
* @return ResponseInterface
public function getResponse(): ResponseInterface
return $this->response;