code: def exception(self, url, exception):
          '''What to return when there's an exception.'''
          return (time.time() + self.ttl, self.factory(url)f exception(self, url, exception):
          '''What to return when there's an exception.'''
          return (time.time() + self.ttl, self.factory(url))
docs: What to return when there's an exception.