mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-11 10:53:47 +02:00
Support deleting a task from a schedule
This commit is contained in:
20
app/Exceptions/Http/HttpForbiddenException.php
Normal file
20
app/Exceptions/Http/HttpForbiddenException.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Pterodactyl\Exceptions\Http;
|
||||
|
||||
use Illuminate\Http\Response;
|
||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
||||
|
||||
class HttpForbiddenException extends HttpException
|
||||
{
|
||||
/**
|
||||
* HttpForbiddenException constructor.
|
||||
*
|
||||
* @param string|null $message
|
||||
* @param \Throwable|null $previous
|
||||
*/
|
||||
public function __construct(string $message = null, \Throwable $previous = null)
|
||||
{
|
||||
parent::__construct(Response::HTTP_FORBIDDEN, $message, $previous);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user