exception psi4.driver.UpgradeHelper(old, new, version, elaboration)[source]

Bases: psi4.driver.p4util.exceptions.PsiException

Error called on previously valid syntax that now isn’t and a simple syntax transition is possible.

It is much preferred to leave the old syntax valid for a release cycle and have the old syntax raise a deprecation FutureWarning. For cases where the syntax just has to jump, this can be used to trap the old syntax at first error and suggest the new.


Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.