2017-09-15 00:16:03 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Exceptions\Service\Location;
|
|
|
|
|
2018-01-01 15:11:44 -06:00
|
|
|
use Illuminate\Http\Response;
|
2017-09-15 00:16:03 -05:00
|
|
|
use Pterodactyl\Exceptions\DisplayException;
|
|
|
|
|
|
|
|
class HasActiveNodesException extends DisplayException
|
|
|
|
{
|
2022-10-14 10:59:20 -06:00
|
|
|
public function getStatusCode(): int
|
2018-01-01 15:11:44 -06:00
|
|
|
{
|
|
|
|
return Response::HTTP_BAD_REQUEST;
|
|
|
|
}
|
2017-09-15 00:16:03 -05:00
|
|
|
}
|