def ignore(func, errors):
    """Ignore exceptions given in errors"""
    def wrapper(*args, **kwargs):
        """Wrapper func"""
        try:
            return func(*args, **kwargs)
        except errors:
            pass
    return wrapper