def non_negative_validation(value):
    """
    Validate if value is negative and raise Validation error

    """
    if isinstance(value, list):
        if any(v < 0 for v in value):
            raise ValueError("The Values in the list must not be negative")
        else:
            return value
    else:
        if value < 0:
            raise ValueError("The Value must not be negative.")
        else:
            return value