def _validate_kwargs(kwargs_passed, kwargs_types):
    """
    Validate all the arguments passed
    :param kwargs_passed: {arg_name: arg_value}
    :param kwargs_types: {arg_name: Validator}
    :return:
        error: arg_name, arg_value, error_msg
        success: "", "", ""
    """
    for kwarg_name, kwarg_value in kwargs_passed.iteritems():
        kwarg_type = kwargs_types[kwarg_name]
        error_msg, validated_arg_value = kwarg_type._parse_arg(kwarg_name,
            kwarg_value)
        if error_msg:
            return kwarg_name, kwarg_value, error_msg
        kwargs_passed[kwarg_name] = validated_arg_value
    return '', '', ''
