cljs.repl/IParseStacktrace

protocolsince v0.0-2843Edit
Source code @ clojurescript:src/main/clojure/cljs/repl.cljc
(defprotocol IParseStacktrace
  (-parse-stacktrace [repl-env stacktrace error build-options]
    "Given the original JavaScript stacktrace string, the entire original error
     value and current compiler build options, parse the stacktrace into the
     canonical form:

     [{:file 
       :function 
       :line 
       :column }*]

     :file must be a URL path (without protocol) relative to :output-dir. If
     no source file can be supplied (such as REPL defs), :file may be a custom
     identifier string surrounded by angle brackets, i.e. \"\"."))