class UserError(Exception):
    """Raised when PMI has encountered a user error.
    """

    def __init__(self, msg):