mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
17 lines
401 B
PHP
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]));
|
|
}
|
|
}
|