cljs.repl/print-mapped-stacktrace

functionsince v0.0-2814Edit
(print-mapped-stacktrace stacktrace)
(print-mapped-stacktrace stacktrace opts)

Source docstring:
Given a vector representing the canonicalized JavaScript stacktrace
print the ClojureScript stacktrace. See mapped-stacktrace.
Source code @ clojurescript:src/main/clojure/cljs/repl.cljc
(defn print-mapped-stacktrace
  ([stacktrace] (print-mapped-stacktrace stacktrace *repl-opts*))
  ([stacktrace opts]
   (doseq [{:keys [function file line column]}
           (mapped-stacktrace stacktrace opts)]
     (err-out
       (println "\t"
         (str (when function (str function " "))
           "(" (file-display file opts) (when line (str ":" line)) (when column (str ":" column)) ")"))))))