Made some exceptions more useful and expressive in DictXpath