portal.mkgtu.ru/common/components/CodeSettingsManager/exceptions/CodeNotFoundInConnectionArr...

29 lines
422 B
PHP
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace common\components\CodeSettingsManager\exceptions;
use Throwable;
class CodeNotFoundInConnectionArrayException extends \Exception
{
public function __construct($defaultCode, $arrName, $code = 0, Throwable $previous = null)
{
parent::__construct("Не удалось найти элемент ' '{$defaultCode}' в массиве {$arrName}", $code, $previous);
}
}