Liking cljdoc? Tell your friends :D

synthigy.client.error

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.
raw docstring

categoriesclj/s

source

categoryclj/s

(category code)
source

ex-infoclj/s

(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.
sourceraw docstring

refusal-codesclj/s

source

retryable-categoriesclj/s

source

retryable?clj/s

(retryable? {:keys [code retryable]})
source

token-refusalclj/s

(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.
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