pass the error to the handler for advanced parsing