Adds error argument to response functors.