This function sets the callback function called when there is a native error reported.
Calling this function will replace any callback that had been set previously.
<static> setReportErrorFromNativeCallback( callbackToSet )
| Name | Type | Description |
| callbackToSet | function | The callback function. |
var errorCallback = function( errorString )
{
alert( "There was a native error: " + errorString );
}
hwc.setReportErrorFromNativeCallback( errorCallback );