'(internal) Deal with an error.
@param requestID: The request ID.
@param fail: The failure.'

def proto_error(self, requestID, fail):

    d = self.waitingForAnswers[requestID]
    del self.waitingForAnswers[requestID]
    d.errback(self.unserialize(fail))
