|
onError
|
The onError special form assigns an error event handler function {anLambda}. The scope of the
onError special form is limited to the scope of the current executing Lambda. Any error events,
occurring during the scope of the current executing Lambda, will result in the specified error event handler Lambda
being invoked. The specified error event handler Lambda, {anLambda}, must be a function of one argument. The error event
is converted into a text object and passed to the error event handler function. When to use The onError function is used to define an error handler function.
(onError anLambda) Returns false if the object has a value of 0. Returns true otherwise.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types anLambda The event handler Lambda. The specified error event handler Lambda (anLambda) must be a function of one argument. Lambda
Returns:
Examples
Argument Types
Lambda
Boolean
How do I contact the AIS team?