cc.journeyman.errata.backtrace

Extract useful backtrace information from Clojure exceptions.

classify-backtrace

(classify-backtrace error namespaces)

Produce a classified list of the backtrace for this error, considering these namespaces as interesting.

construct-entry-for-frame

(construct-entry-for-frame frame namespaces)

Construct an entry in a backtrace frame list for this frame, considering these namespaces as interesting.

fold-backtrace

(fold-backtrace error namespaces)(fold-backtrace error)

Return the backtrace of this error as a list of lists, such that in each sublist every member has the same value for :interesting? as derived from these namspaces.

summarise-frame

(summarise-frame frame)

Summarise a single stack frame, presented as a map.