Liking cljdoc? Tell your friends :D

wagoe.devtools.shell.module-wiring

Integrant wiring for devtools components an application opts into.

Loaded by the app, not by platform: platform must not know the name of an optional library (BOU-131). A config that asks for :wagoe/dev-error-enricher is a config that has devtools on its classpath.

Integrant wiring for devtools components an application opts into.

Loaded by the app, not by platform: platform must not know the name of an
optional library (BOU-131). A config that asks for `:wagoe/dev-error-enricher`
is a config that has devtools on its classpath.
raw docstring

error-enricherclj

(error-enricher)

A function from exception to {:code :category :fix :help}, or nil when the pipeline has nothing to say about it.

This is what turns a 400 that reads "Validation failed" into one that names BND-201 and the field to add. It also records the error for the dashboard, so the page shows what the API returned rather than a separate story.

Returned as a plain fn: platform calls (enrich ex) and knows nothing about this namespace.

A function from exception to `{:code :category :fix :help}`, or nil when the
pipeline has nothing to say about it.

This is what turns a 400 that reads "Validation failed" into one that names
BND-201 and the field to add. It also records the error for the dashboard,
so the page shows what the API returned rather than a separate story.

Returned as a plain fn: platform calls `(enrich ex)` and knows nothing about
this namespace.
sourceraw docstring

ig-configclj

(ig-config settings _ctx)

This module's Integrant entries, for wagoe.platform.shell.system.config.

Dev-only: an error over HTTP answers with its BND code and the fix instead of "Validation failed". devtools lives in the :repl alias, so a project running clojure -M:run against the dev config has the key and not the library — the assembler treats this module as optional and skips it rather than failing the boot.

This module's Integrant entries, for `wagoe.platform.shell.system.config`.

Dev-only: an error over HTTP answers with its BND code and the fix instead of
"Validation failed". devtools lives in the `:repl` alias, so a project
running `clojure -M:run` against the dev config has the key and not the
library — the assembler treats this module as optional and skips it rather
than failing the boot.
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