misc_pterodactyl-panel/app/Exceptions/Service/Allocation/InvalidPortMappingException.php

17 lines
388 B
PHP
Raw Normal View History

<?php
namespace Pterodactyl\Exceptions\Service\Allocation;
use Pterodactyl\Exceptions\DisplayException;
class InvalidPortMappingException extends DisplayException
{
/**
* InvalidPortMappingException constructor.
*/
public function __construct(mixed $port)
{
parent::__construct(trans('exceptions.allocations.invalid_mapping', ['port' => $port]));
}
}