You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,10 @@
2
2
3
3
## master (unreleased)
4
4
5
+
### New features
6
+
7
+
*[cider#3565](https://github.com/clojure-emacs/cider/issues/3565): Add new [`inspect-last-exception`](https://docs.cider.mx/cider-nrepl/nrepl-api/ops.html#inspect-last-exception) op.
8
+
5
9
### Changes
6
10
7
11
*[#828](https://github.com/clojure-emacs/cider-nrepl/issues/828): Warmup Orchard caches for exceptions in advance.
Copy file name to clipboardExpand all lines: src/cider/nrepl.clj
+5
Original file line number
Diff line number
Diff line change
@@ -627,6 +627,11 @@ if applicable, and re-render the updated value."
627
627
:handles {"analyze-last-stacktrace" {:doc"Return messages describing each cause and stack frame of the most recent exception."
628
628
:optional wrap-print-optional-arguments
629
629
:returns {"status""\"done\", or \"no-error\" if `*e` is nil"}}
630
+
"inspect-last-exception" {:doc"Returns an Inspector response for the last exception that has been processed through `analyze-last-stacktrace` for the current nrepl session.
631
+
Assumes that `analyze-last-stacktrace` has been called first, returning \"no-error\" otherwise."
632
+
:requires {"index""0 for inspecting the top-level exception, 1 for its ex-cause, 2 for its ex-cause's ex-cause, and so on."}
633
+
:returns {"status""\"done\", or \"no-error\" if `analyze-last-stacktrace` wasn't called beforehand (or the `index` was out of bounds)."
634
+
"value""A value, as produced by the Inspector middleware."}}
630
635
"analyze-stacktrace" {:doc"Parse and analyze the `:stacktrace`
631
636
parameter and return messages describing each cause and stack frame. The
632
637
stacktrace must be a string formatted in one of the following formats:
0 commit comments