Add ServerTransferringException, use is_null

This commit is contained in:
Matthew Penner 2020-12-17 10:34:26 -07:00
parent 5668a780e2
commit fd848985ee
9 changed files with 36 additions and 14 deletions

View 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.');
}
}