code: def fail(self):
          
          if self.failed is True:
              raise AttributeError("Cannot fail {} - it has already failed.".format(self))
          else:
              self.failed = True
              self.time_of_death = timenow()
  
              for t in self.transmissions():
                  t.fail()
docs: Fail a vector.