handle errors when source is returning something unusual and making our parsing method fail.