Files
panel/app/Exceptions/Http/HttpForbiddenException.php

19 lines
431 B
PHP
Raw Normal View History

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