(create-error-response response full-response? kebabify-keys?)Creates a structured error response from the original response. When kebabify-keys? is true, the response body and headers are already transformed by process-response before this function is called.
Creates a structured error response from the original response. When kebabify-keys? is true, the response body and headers are already transformed by process-response before this function is called.
(process-response response full-response? kebabify-keys?)Process the response based on its status and the full-response flag. Optionally transforms keys to kebab-case based on the config.
The originating request and HTTP client are removed first, since the request carries the Authorization header.
Process the response based on its status and the full-response flag. Optionally transforms keys to kebab-case based on the config. The originating request and HTTP client are removed first, since the request carries the Authorization header.
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 |