```python
def run_reservoir(capacity: int,    if not isinstance(capacity, int)        raise ValueError("Capacity must be a positive integer")
    if capacity <= 0:
        raise ValueError("Capacity must be a positive integer")

def run_reservoir(capacity:    if not isinstance(capacity, int):
        raise ValueError("Capacity must be a positive integer")
    if capacity <= 0:
        raise ValueError("Capacity must be a positive integer")

def run_reservoir(capacity:    if not isinstance(capacity, int):
        raise ValueError("Capacity must be a positive integer")
    if capacity <= 0:
        raise ValueError("Capacity must be a positive integer")

def run_reservoir(capacity):
    if not isinstance(capacity, int):
        raise ValueError("Capacity must be a positive integer")
    if capacity <= 0):
        raise ValueError("Capacity must be a positive integer")

```