A former US treasury secretary says it is the “most egregious” mistake he has seen in four decades.