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

18 lines
313 B
PHP
Raw Normal View History

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