set_error_hook
Description:
Associates a function with this which will be called from parse when an error occurs.
Note that the user data to be passed to error_func
can be specified when constructing the group with
OptionGroup.
Parameters:
this | |
error_func |
a function to call when an error occurs |