Skip to main content
Skip table of contents

ibihelpme_LogError

Signature

ibihelpme_LogError(message: string, url: string, line: number): void

DescriptionLogs an error message
Available from API version1.0.0

Parameter

NameTypeDescription
messagestring

Error message to be logged

urlstring

URL that caused the error

linenumber

Line that caused the error

Return value

No return value

Example

JS
window.onerror = function (message, url, lineNumber) 
{
	return ibi_logError(message, url, lineNumber);
}
 
function ibi_logError(message, url, lineNumber) 
{
	if (typeof window.external.ibihelpme_LogError !== 'undefined') 
	{
    	window.external.ibihelpme_LogError(message, url, lineNumber);

	    return true;
	}

	return false;
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.