Result data -> string. A consumer of what replay returns, never a second source of truth about it.
Result data -> string. A consumer of what replay returns, never a second source of truth about it.
(failure-str result)Render the failure in a replay/run-trace result as a human-readable
string, or nil when the result is :ok?.
Names the step, the action and its picks, the handler var that diverged and the reader vars that observed it, the diverging part of both states, and — when a handler threw — the exception instead of a diff.
Render the failure in a `replay/run-trace` result as a human-readable string, or nil when the result is `:ok?`. Names the step, the action and its picks, the handler var that diverged and the reader vars that observed it, the diverging part of both states, and — when a handler threw — the exception instead of a diff.
(result-str {:keys [ok? cmd dir failure invariant] :as result})Render a core/check, core/check-run or core/verify result: what went
wrong, the failure itself, where the trace was saved, and the command that
reproduces it. Nil when the result is :ok?.
Render a `core/check`, `core/check-run` or `core/verify` result: what went wrong, the failure itself, where the trace was saved, and the command that reproduces it. Nil when the result is `:ok?`.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |