How would you implement a recursive function that takes a collection of integers, computes the sum, and returns the result while establishing preconditions to avoid runtime errors?
Implement recursive_sum(values). For valid inputs, return the integer sum. For invalid inputs, return {"error": "TypeError"} without raising an exception. Accept only lists containing integers, excluding booleans. Use recursion for computation, and structure it so large valid lists do not exceed the recursion limit.
def recursive_sum(values):