Improve logic handle auto-allocation of ports for a server

This commit is contained in:
Dane Everitt
2020-10-31 14:58:15 -07:00
parent 7638ffccde
commit c6bd7ff661
10 changed files with 201 additions and 79 deletions

View File

@@ -0,0 +1,18 @@
<?php
namespace Pterodactyl\Exceptions\Service\Allocation;
use Pterodactyl\Exceptions\DisplayException;
class AutoAllocationNotEnabledException extends DisplayException
{
/**
* AutoAllocationNotEnabledException constructor.
*/
public function __construct()
{
parent::__construct(
'Server auto-allocation is not enabled for this instance.'
);
}
}