[2404.14223] Error Credits: Resourceful Reasoning about Error Bounds for Higher-Order Probabilistic Programs