docs: def _error(self, exc_info):
          """ Retrieves the error info """
          if self._exc_info:
              if self._traceback:
                  return exc_info
              return exc_info[:2]
          return exc_info[1]