2017-07-20 01:49:41 +00:00
|
|
|
<?php
|
|
|
|
|
2017-08-19 03:19:06 +00:00
|
|
|
namespace Pterodactyl\Exceptions\Service;
|
2017-07-20 01:49:41 +00:00
|
|
|
|
2018-01-01 21:11:44 +00:00
|
|
|
use Illuminate\Http\Response;
|
2017-08-21 00:23:50 +00:00
|
|
|
use Pterodactyl\Exceptions\DisplayException;
|
|
|
|
|
|
|
|
class HasActiveServersException extends DisplayException
|
2017-07-20 01:49:41 +00:00
|
|
|
{
|
2018-01-01 21:11:44 +00:00
|
|
|
/**
|
|
|
|
* @return int
|
|
|
|
*/
|
|
|
|
public function getStatusCode()
|
|
|
|
{
|
|
|
|
return Response::HTTP_BAD_REQUEST;
|
|
|
|
}
|
2017-07-20 01:49:41 +00:00
|
|
|
}
|