Liking cljdoc? Tell your friends :D
Clojure only.

boundary.devtools.core.error-enricher

Enrich classified errors with stacktrace, suggestions, fix info, and URLs. Pure functions — no I/O, no side effects.

Each sub-call is wrapped in try/catch for self-protection: if any enrichment step fails, that field is omitted rather than crashing the pipeline.

Enrich classified errors with stacktrace, suggestions, fix info, and URLs.
Pure functions — no I/O, no side effects.

Each sub-call is wrapped in try/catch for self-protection:
if any enrichment step fails, that field is omitted rather than
crashing the pipeline.
raw docstring

enrichclj

(enrich {:keys [code exception data] :as classified})

Enrich a classified error map with additional context.

Adds:

  • :stacktrace — filtered/reordered stack trace
  • :suggestions — 'Did you mean?' suggestions (when applicable)
  • :fix — auto-fix descriptor or nil
  • :dashboard-url — link to dev dashboard error page
  • :docs-url — link to error code documentation

Each field is independently protected: if a sub-call fails, that field is omitted from the result.

Enrich a classified error map with additional context.

Adds:
- :stacktrace — filtered/reordered stack trace
- :suggestions — 'Did you mean?' suggestions (when applicable)
- :fix — auto-fix descriptor or nil
- :dashboard-url — link to dev dashboard error page
- :docs-url — link to error code documentation

Each field is independently protected: if a sub-call fails,
that field is omitted from the result.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close