Typed errors: every coded throw carries :code, :category and :retryable, from the same code table the Go, JS, Python and PHP SDKs use.
Typed errors: every coded throw carries :code, :category and :retryable, from the same code table the Go, JS, Python and PHP SDKs use.
(ex-info message data)(ex-info message data cause)clojure.core/ex-info, plus :category and :retryable from (:code data); the server's own :retryable wins.
clojure.core/ex-info, plus :category and :retryable from (:code data); the server's own :retryable wins.
(token-refusal status {:keys [error error_description] :as oauth} body)The ex-info for a refused /oauth/token mint, typed by its RFC 6749 / RFC 8707 error.
The ex-info for a refused /oauth/token mint, typed by its RFC 6749 / RFC 8707 error.
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 |