Extracted from Pike v8.0 release 358 as of 2016-11-23.
   

Method Parser.LR.Parser()->set_error_handler()


Method set_error_handler

void set_error_handler(void|function(SeverityLevel, string, string, mixed ... :void) handler)

Description

Sets the error report function.

Parameter handler

Function to call to report errors and warnings. If zero or not specifier, use the built-in function.