2020-12-17 17:34:26 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Exceptions\Http\Server;
|
|
|
|
|
|
|
|
use Illuminate\Http\Response;
|
|
|
|
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
|
|
|
|
|
|
class ServerTransferringException extends HttpException
|
|
|
|
{
|
2020-12-24 18:14:10 +00:00
|
|
|
/**
|
|
|
|
* ServerTransferringException constructor.
|
|
|
|
*/
|
2020-12-17 17:34:26 +00:00
|
|
|
public function __construct()
|
|
|
|
{
|
2020-12-24 18:14:10 +00:00
|
|
|
parent::__construct(Response::HTTP_CONFLICT, 'This server is currently being transferred to a new machine, please try again laster.');
|
2020-12-17 17:34:26 +00:00
|
|
|
}
|
|
|
|
}
|