Feedback

  • Contents
 

ChatObject.errorHandler Callback Property

Definition

ChatObject.errorHandler is invoked by when an internal error occurs in the chat object. If you pass the name of a user-defined function to ChatObject.errorHandler, the function will be called when this event occurs.

Compatibility

This callback is compatible with scripts for Scripter .NET Client or Interaction Connect.

Syntax

ChatObject.errorHandler

Usage

Read Yes

Write Yes

Value Assigned

Function Pointer

A function pointer is the address in memory where a user-defined function is loaded. Function pointers pass the address of a user-defined function to another function declared within an application. In a script, the function pointer is simply the name of the function. For example, if your code contains a function named "foo", the function pointer would also be named "foo". When defining your custom function, define the errorId, and errorText as arguments to the function. e.g.: function foo(errorId, errorText).