def get_violating_args(contracts, params_args):
    """
    Get all arguments that violate the contracts.

    :param contracts: { string: (any) -> bool, ... }, contracts from parameters to qualifiers
    :param params_args: { string: any, ... }, parameters to arguments
    :return: { string: any, ... }, parameters to contract violating arguments
    """
    error_params_args = {}
    for param, arg in params_args.items():
        # No contract for parameter
        if param not in contracts:
            continue

        # Checking breaks
        try: 
            valid = contracts[param](arg)
        except:
            error_params_args[param] = arg
            continue

        # Violate contract
        if not valid:
            error_params_args[param] = arg
    return error_params_args