Documentation

getErrorByCode

\Bitrix\Main\Error|null public
\Bitrix\Main\ErrorCollection::getErrorByCode(
 string|integer $code
);

Non-static method returns error by retrieved code.

Parameters

ParameterDescriptionVersion
$codeError code.

Example



© «Bitrix24», 2001-2024
Up