Throw exception if mink has not been set in context