code: func (r *renderedError) toLines(excludePkgs ...string) lines {
  	buf := bytes.Buffer{}
  	r.dumpTo(&buf, excludePkgs...)
  	return strings.Split(strings.TrimSuffix(buf.String(), "\n"), "\n")
  }
docs: // toLines renders a full-information stack trace as a series of lines.