misc_pterodactyl-panel/app/Exceptions/Service/HasActiveServersException.php
Matthew Penner cbcf62086f
Upgrade to Laravel 9 (#4413)
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
2022-10-14 10:59:20 -06:00

14 lines
283 B
PHP

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