Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Sets the error handler to the given function.
seterrorhandler(errFunc)
Arguments[]
- errFunc
- function - The function to call when an error occurs. The function is passed a single argument containing the error message.
Example[]
If you wanted to print all errors to your chat frame, you could do:
seterrorhandler(print);
Alternatively, the following would also perform the same task:
seterrorhandler(function(msg) print(msg); end);