The CVX Users’ Guide is not very clear (i.e., is “wrong”) on the needed syntax for exponential cone constraint.
{ log(2), x, z } == exponential(1)
will work.
So altogether what is needed for the constraint is:
variables x z
{ log(2), x, z } == exponential(1)
z - x <= C