mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-09 09:53:44 +02:00
Add ServerTransferringException, use is_null
This commit is contained in:
14
app/Exceptions/Http/Server/ServerTransferringException.php
Normal file
14
app/Exceptions/Http/Server/ServerTransferringException.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Pterodactyl\Exceptions\Http\Server;
|
||||
|
||||
use Illuminate\Http\Response;
|
||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
||||
|
||||
class ServerTransferringException extends HttpException
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(Response::HTTP_CONFLICT, 'Server is currently being transferred.');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user