Liking cljdoc? Tell your friends :D

wagoe.devtools.error-codes

Error code catalog for Wagoe. Loads from the shared EDN resource so the Babashka CLI and JVM runtime share one source of truth.

Not under core/ deliberately — loading a resource requires I/O, which is forbidden in core namespaces by the FC/IS boundary check.

Error code ranges: WGE-1xx Configuration errors WGE-2xx Validation errors WGE-3xx Persistence errors WGE-4xx Authentication/authorization errors WGE-5xx Interceptor pipeline errors WGE-6xx FC/IS boundary violations WGE-7xx Tooling / build errors WGE-8xx MCP guardrails (wagoe-mcp)

Error code catalog for Wagoe. Loads from the shared EDN resource
so the Babashka CLI and JVM runtime share one source of truth.

Not under core/ deliberately — loading a resource requires I/O,
which is forbidden in core namespaces by the FC/IS boundary check.

Error code ranges:
  WGE-1xx  Configuration errors
  WGE-2xx  Validation errors
  WGE-3xx  Persistence errors
  WGE-4xx  Authentication/authorization errors
  WGE-5xx  Interceptor pipeline errors
  WGE-6xx  FC/IS boundary violations
  WGE-7xx  Tooling / build errors
  WGE-8xx  MCP guardrails (wagoe-mcp)
raw docstring

all-codesclj

(all-codes)

Get all error codes sorted.

Get all error codes sorted.
sourceraw docstring

by-categoryclj

(by-category category)

Get all error codes for a category (:config, :validation, :persistence, :auth, :interceptor, :fcis, :tooling).

Get all error codes for a category (:config, :validation, :persistence, :auth, :interceptor, :fcis, :tooling).
sourceraw docstring

canonical-codeclj

(canonical-code code)

code upper-cased, with the pre-1.0.1 BND- prefix read as WGE-, so a code from an old log or doc still resolves.

`code` upper-cased, with the pre-1.0.1 BND- prefix read as WGE-, so a code
from an old log or doc still resolves.
sourceraw docstring

catalogclj

Map of error code string to error definition. Loaded from resources/wagoe/devtools/error_catalog.edn.

Map of error code string to error definition.
Loaded from resources/wagoe/devtools/error_catalog.edn.
sourceraw docstring

category-rangeclj

(category-range category)

Get the human-readable range description for a category.

Get the human-readable range description for a category.
sourceraw docstring

lookupclj

(lookup code)

Look up an error code. Returns the error definition map or nil.

Look up an error code. Returns the error definition map or nil.
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