def deeperror(n): if n>0: deeperror(n-1) raise ValueError("yes this is bad") deeperror(4)