def METHOD_NAME(self):
    self._cook_check()
    if not self._v_errors:
        if not self.expand:
            return self._text
        try:
            return self.pt_render(source=True)
        except Exception:
            return ('%s\n Macro expansion failed\n %s\n-->\n%s' %
                    (self._error_start, "%s: %s" % sys.exc_info()[:2],
                     self._text))
    return ('{}\n {}\n-->\n{}'.format(self._error_start,
                                      '\n '.join(self._v_errors),
                                      self._text))