Modify InvalidParamaterTypeError to inherit from TypeError.
Also include consistency level in the __repr__.