Add method `WithErrorHandler` to parser to allow adding custom error handlers.
Add method
WithErrorHandlerto parser to allow adding custom error handlers.