ibihelpme_LogError
Signature |
|
---|---|
Description | Logs an error message |
Available from API version | 1.0.0 |
Parameter
Name | Type | Description |
---|---|---|
message | string | Error message to be logged |
url | string | URL that caused the error |
line | number | 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;
}