- Contents
Interaction Scripter Developer's Guide
ChatObject.ObjectSpecificErrorHandler Callback Property
Definition
ChatObject.ObjectSpecificErrorHandler is invoked when an error occurs with the chat object. If you pass the name of a user-defined function, that function will be called when an error occurs.
Compatibility
This functionality is only available with scripts for Interaction Connect. It is not available in Scripter .Net client.
Syntax
ChatObject.ObjectSpecificErrorHandler();
Value Assigned
- Function Pointer
-
Set this property to a function you wish to be called when an error occurs with the chat object.
Example
<script language ="javascript"> window.onload = Init;
function Init() { scripter.chatObject.ObjectSpecificErrorHandler = myFunction; }
function myFunction() { alert("A chat object error occurred."); }
</script>