Liking cljdoc? Tell your friends :D
Clojure only.

supabase.postgrest.error

PostgREST-specific anomaly enrichment.

PostgREST error bodies carry extra fields — message, hint, code, details — that callers want surfaced. This module decorates a core.error anomaly with those fields under the :postgrest/* namespace and, for a handful of well-known codes, refines the anomaly category.

PostgREST-specific anomaly enrichment.

PostgREST error bodies carry extra fields — `message`, `hint`, `code`,
`details` — that callers want surfaced. This module decorates a
`core.error` anomaly with those fields under the `:postgrest/*` namespace
and, for a handful of well-known codes, refines the anomaly category.
raw docstring

enrichclj

(enrich result)

Decorates a core.error anomaly with PostgREST-specific fields when the response body carries them, and upgrades the category for recognized codes. Returns the input unchanged if it is not an anomaly or has no database fields.

Decorates a `core.error` anomaly with PostgREST-specific fields when the
response body carries them, and upgrades the category for recognized
codes. Returns the input unchanged if it is not an anomaly or has no
database fields.
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