Added support for parser error handlers