Liking cljdoc? Tell your friends :D

haystack.parser.clojure.throwable

Convert java.lang.Throwable instances into the Throwable->map data format.

Convert `java.lang.Throwable` instances into the `Throwable->map` data format.
raw docstring

parse-stacktraceclj/s

(parse-stacktrace input)

Parse input as a java.lang.Throwable instance.

Parse `input` as a `java.lang.Throwable` instance.
sourceraw docstring

StackTraceElement->vecclj

(StackTraceElement->vec o)

Constructs a data representation for a StackTraceElement: [class method file line]

Constructs a data representation for a StackTraceElement: [class method file line]
sourceraw docstring

Throwable->mapclj

(Throwable->map o)

Constructs a data representation for a Throwable with keys: :cause - root cause message :phase - error phase :via - cause chain, with cause keys: :type - exception class symbol :message - exception message :data - ex-data :at - top stack element :trace - root cause stack elements

Constructs a data representation for a Throwable with keys:
:cause - root cause message
:phase - error phase
:via - cause chain, with cause keys:
         :type - exception class symbol
         :message - exception message
         :data - ex-data
         :at - top stack element
:trace - root cause stack elements
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close