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