misc_pterodactyl-panel/app/Exceptions/Service/HasActiveServersException.php

15 lines
283 B
PHP
Raw Normal View History

<?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;
}
}