Files
pterodactyl-panel/app/Exceptions/Service/Allocation/InvalidPortMappingException.php
2026-10-12 05:18:57 -04:00

17 lines
401 B
PHP

<?php
declare(strict_types=1);
namespace Pterodactyl\Exceptions\Service\Allocation;
use Pterodactyl\Exceptions\DisplayException;
class InvalidPortMappingException extends DisplayException
{
/** @param bool|float|int|string|null $port */
public function __construct(mixed $port)
{
parent::__construct(trans('exceptions.allocations.invalid_mapping', ['port' => $port]));
}
}