docs: def warning(self, amplexception):
          """
          Receives notification of a warning.
          """
          msg = '\t'+str(amplexception).replace('\n', '\n\t')
          print('Warning:\n{:s}'.format(msg))