Convert java.lang.Throwable instances into the Throwable->map data format.
Convert `java.lang.Throwable` instances into the `Throwable->map` data format.
(parse-stacktrace input)Parse input as a java.lang.Throwable instance.
Parse `input` as a `java.lang.Throwable` instance.
(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]
(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 elementscljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |