2020-03-18 21:08:32 -07:00
|
|
|
<?php
|
|
|
|
|
|
2024-03-12 22:39:16 -04:00
|
|
|
namespace App\Exceptions\Http;
|
2020-03-18 21:08:32 -07:00
|
|
|
|
|
|
|
|
use Illuminate\Http\Response;
|
|
|
|
|
use Symfony\Component\HttpKernel\Exception\HttpException;
|
2025-09-24 13:34:19 +02:00
|
|
|
use Throwable;
|
2020-03-18 21:08:32 -07:00
|
|
|
|
|
|
|
|
class HttpForbiddenException extends HttpException
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* HttpForbiddenException constructor.
|
|
|
|
|
*/
|
2025-09-08 13:12:33 -04:00
|
|
|
public function __construct(?string $message = null, ?Throwable $previous = null)
|
2020-03-18 21:08:32 -07:00
|
|
|
{
|
|
|
|
|
parent::__construct(Response::HTTP_FORBIDDEN, $message, $previous);
|
|
|
|
|
}
|
|
|
|
|
}
|