misc_pterodactyl-panel/app/Exceptions/Service/Location/HasActiveNodesException.php

18 lines
320 B
PHP
Raw Permalink Normal View History

<?php
namespace Pterodactyl\Exceptions\Service\Location;
use Illuminate\Http\Response;
use Pterodactyl\Exceptions\DisplayException;
class HasActiveNodesException extends DisplayException
{
/**
* @return int
*/
public function getStatusCode()
{
return Response::HTTP_BAD_REQUEST;
}
}