public getErrorHandler() as ErrorHandler:
Returns the error handler.
Error handler, or null.
null
handler = parser.getErrorHandler()