2018-03-10 19:10:40 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Exceptions\Service\Allocation;
|
|
|
|
|
|
|
|
use Pterodactyl\Exceptions\DisplayException;
|
|
|
|
|
|
|
|
class InvalidPortMappingException extends DisplayException
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* InvalidPortMappingException constructor.
|
|
|
|
*/
|
2022-10-14 16:59:20 +00:00
|
|
|
public function __construct(mixed $port)
|
2018-03-10 19:10:40 +00:00
|
|
|
{
|
|
|
|
parent::__construct(trans('exceptions.allocations.invalid_mapping', ['port' => $port]));
|
|
|
|
}
|
|
|
|
}
|