clojure.stacktrace
clojure.stacktrace
完整的命名空间名称:Clojure。栈迹
概述
Print stack traces oriented towards Clojure, not Java.
公共变量和函数
E函数
Usage: (e)
REPL utility. Prints a brief stack trace for the root cause of the
most recent exception.
在Clojure版本1.1中添加
打印原因跟踪函数
Usage: (print-cause-trace tr)
(print-cause-trace tr n)
Like print-stack-trace but prints chained exceptions (causes).
在Clojure版本1.1中添加
打印堆栈跟踪函数
Usage: (print-stack-trace tr)
(print-stack-trace tr n)
Prints a Clojure-oriented stack trace of tr, a Throwable.
Prints a maximum of n stack frames (default: unlimited).
Does not print chained exceptions (causes).
在Clojure版本1.1中添加
打印函数
Usage: (print-throwable tr)
Prints the class and message of a Throwable.
在Clojure版本1.1中添加
打印微量元素函数
Usage: (print-trace-element e)
Prints a Clojure-oriented view of one element in a stack trace.
在Clojure版本1.1中添加
根因果函数
Usage: (root-cause tr)
Returns the last 'cause' Throwable in a chain of Throwables.
在Clojure版本1.1中添加