multimethod | removed v1.10.738 | added v0.0-927 | Edit |
(defmulti stacktrace class)
(defmethod stacktrace :default [e]
(apply str
(interpose "\n"
(map #(str " " (.toString %))
(.getStackTrace e)))))
(defmethod stacktrace RhinoException [^RhinoException e]
(.getScriptStackTrace e))