Documentation

getErrorByCode

\Bitrix\Main\Error|null public
\Bitrix\Vote\Base\Controller::getErrorByCode(
 string $code
);

Method returns error by its code. Non-static method.

Parameters

ParameterDescriptionVersion
$codeError code.

Example



© «Bitrix24», 2001-2024
Up