Stopping parsing on errors