pst is a Clojure REPL utility for printing a readable portion of an exception's stack trace. Called without an argument, it reports the most recent REPL exception; given an exception, it prints that exception instead. section 22.3
Inspect the root cause
After wrapping a divide-by-zero error in nested ex-info exceptions, (pst ex 3) prints the outer exception, each “Caused by” exception, and three frames per level. To focus only on the underlying failure, use (pst (root-cause ex) 3), which prints the ArithmeticException trace.
