array public \Bitrix\Lists\Internals\Error\ErrorCollection::getErrorByCode( $code );
Non-static method returns error with required code.