code: def trace(self):
          
          if len(self.errors) > 0:
              numerrs = len(self.errors)
              print("========= Trace (" + str(numerrs) + ") =========")
          self._print_errs()
          self.errors = []
docs: Print the errors trace if there are some errors