for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Copyright (c) 2020.
* @author Paweł Antosiak <[email protected]>
*/
declare(strict_types=1);
namespace Gorynych\Http\Exception;
use Symfony\Component\HttpFoundation\Response;
class BadRequestHttpException extends HttpException
{
public function __construct(string $message = 'Bad request.', int $code = 0, ?\Throwable $previous = null)
parent::__construct(Response::HTTP_BAD_REQUEST, $message, $code, $previous);
}