Liking cljdoc? Tell your friends :D

haystack.analyzer

Cause and stacktrace analysis for exceptions

Cause and stacktrace analysis for exceptions
raw docstring

analyzeclj

(analyze exception)
(analyze exception print-fn)

Return the analyzed cause chain for exception beginning with the thrown exception. exception can be an instance of Throwable or a map in the same format as Throwable->map. For ex-info exceptions, the response contains a :data slot with the pretty printed data. For clojure.spec asserts, the :spec slot contains a map of pretty printed components describing spec failures.

Return the analyzed cause chain for `exception` beginning with the
thrown exception. `exception` can be an instance of `Throwable` or a
map in the same format as `Throwable->map`. For `ex-info`
exceptions, the response contains a :data slot with the pretty
printed data. For clojure.spec asserts, the :spec slot contains a
map of pretty printed components describing spec failures.
sourceraw docstring

analyze-frameclj

(analyze-frame namespaces frame)

Return the stacktrace as a sequence of maps, each describing a stack frame.

Return the stacktrace as a sequence of maps, each describing a stack frame.
sourceraw docstring

directory-namespacesclj

(directory-namespaces)

Looks for all namespaces inside of directories on the class path, ignoring jars.

It's a defn because this set is always subject to change.

NOTE: depending on the use case, you might want to filter out namespaces such as user which while belong to the project, don't share a common naming scheme with the other namespaces.

Looks for all namespaces inside of directories on the class
path, ignoring jars.

It's a defn because this set is always subject to change.

NOTE: depending on the use case, you might want to filter out
namespaces such as `user` which while belong to the project,
don't share a common naming scheme with the other namespaces.
sourceraw docstring

ns-common-prefixclj

In order to match more namespaces, we look for a common namespace prefix across the ones we have identified.

In order to match more namespaces, we look for a common namespace
prefix across the ones we have identified.
sourceraw docstring

pprintclj

(pprint value writer)
(pprint value writer options)

A simple wrapper around clojure.pprint/write.

A simple wrapper around `clojure.pprint/write`.
sourceraw docstring

spec-abbrevclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close