Refactored ZestParser to capture error messages