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

15 lines
290 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
{
public function getStatusCode(): int
{
return Response::HTTP_BAD_REQUEST;
}
}