cljs.repl/IGetError

protocolsince v0.0-2985Edit
Source code @ clojurescript:src/main/clojure/cljs/repl.cljc
(defprotocol IGetError
  (-get-error [repl-env name env build-options]
    "Given a symbol representing a var holding an error, an analysis
     environment, and the REPL/compiler options return the canonical error
     representation:

     {:value 
      :stacktrace }

    :value should be the host environment JavaScript error message string.
    :stacktrace should be the host JavaScript environment stacktrace string."))