Fixed an issue where an error message referenced the Parser class rather than the GraphParser class.