Liking cljdoc? Tell your friends :D

haystack.parser

The stacktrace parser.

The stacktrace parser.
raw docstring

default-input-transformationsclj/s

The default input transformations.

  • identity Do nothing, forward input to the parser.
  • safe-read-edn Read input as EDN and pass it to the parser.
  • 2x safe-read-edn Read input as EDN twice and pass it to the parser.
The default input transformations.

- `identity` Do nothing, forward input to the parser.
- `safe-read-edn` Read input as EDN and pass it to the parser.
- 2x `safe-read-edn` Read input as EDN twice and pass it to the parser.
sourceraw docstring

default-parsersclj/s

The default stacktrace parsers.

The default stacktrace parsers.
sourceraw docstring

parseclj/s

(parse stacktrace)
(parse stacktrace {:keys [parsers input-transformations]})

Parse the stacktrace.

The stacktrace is parsed by applying each function in input-transformations on stacktrace and invoking each of the parsers on the result. The first successful parse result will be returned, or nil if none of the parsers succeeded.

If parsers or input-transformations are nil, default-parsers and default-input-transformations will be used instead.

Parse the `stacktrace`.

The `stacktrace` is parsed by applying each function in
`input-transformations` on `stacktrace` and invoking each of the
`parsers` on the result. The first successful parse result will be
returned, or nil if none of the parsers succeeded.

If `parsers` or `input-transformations` are nil, `default-parsers`
and `default-input-transformations` will be used instead.
sourceraw docstring

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

× close