```python
def climb_budget(tolls: list) -> int:
    if not tolls:
        return 0
    
    total_cost = 0
    for index, toll in enumerate(tolls):
        if not toll.isdigit():
            raise ValueError(f"Invalid toll at position {index}: '{toll}'")
        total_cost += int(toll)
    
    return total_cost
```