(carry-errors-xf xf)
Propogates errors as errors, and otherwise applies the marked transducer xf
.
Propogates errors as errors, and otherwise applies the marked transducer `xf`.
(chain & xfs)
Takes a splat of transducers xfs
and wraps them to carry errors forward and
otherwise act on values as normal. As no grouping is necessary, this can be used
on arbitrary collections, including streams and infinite lists.
Takes a splat of transducers `xfs` and wraps them to carry errors forward and otherwise act on values as normal. As no grouping is necessary, this can be used on arbitrary collections, including streams and infinite lists.
(collect & xfs)
Takes a splat of transducers xfs
. Any errors encountered will be thrown
into a side channel errors
and returned as part of a GroupedResults
.
Blocks until transduction is complete, so not appropriate for streaming.
Takes a splat of transducers `xfs`. Any errors encountered will be thrown into a side channel `errors` and returned as part of a `GroupedResults`. Blocks until transduction is complete, so not appropriate for streaming.
Like danger-mouse.catch-errors#catch-errors
, but instead of collecting errors as it goes,
presents them in danger-mouse
error format for later handling.
If further transducers are used, chain
should be used to compose them.
Like `danger-mouse.catch-errors#catch-errors`, but instead of collecting errors as it goes, presents them in `danger-mouse` error format for later handling. If further transducers are used, `chain` should be used to compose them.
(handle-and-continue-xf handler xf)
Tranducer transformer that takes an existing transducer xf
, and applies it to
unmarked values while using handler
to deal with and remove errored values.
Tranducer transformer that takes an existing transducer `xf`, and applies it to unmarked values while using `handler` to deal with and remove errored values.
(handle-errors-xf handler)
Handle errors as part of the transduction process via handler
, removing them
from later stages.
Handle errors as part of the transduction process via `handler`, removing them from later stages.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close