Liking cljdoc? Tell your friends :D
Clojure only.

ankusa.sdk.impl.error

Builds the ex-info every SDK failure is raised as.

The :type of its ex-data names the failure (:ankusa.sdk/ClaimNotFoundError) and the rest of the data is that type's fixed key set: every key is present, nil when it does not apply, so callers can read any of them without a contains? guard. See ankusa.sdk.errors.

Builds the `ex-info` every SDK failure is raised as.

The `:type` of its `ex-data` names the failure (`:ankusa.sdk/ClaimNotFoundError`)
and the rest of the data is that type's fixed key set: every key is present,
`nil` when it does not apply, so callers can read any of them without a
`contains?` guard. See `ankusa.sdk.errors`.
raw docstring

errorclj

(error type-name message data)
(error type-name message data cause)

An ex-info of type :ankusa.sdk/<type-name> with message. data holds the type's own keys; any it leaves out are nil (and :retryable is the type's fixed value). cause is the exception that caused it, if any.

An `ex-info` of type `:ankusa.sdk/<type-name>` with `message`. `data` holds
the type's own keys; any it leaves out are `nil` (and `:retryable` is the
type's fixed value). `cause` is the exception that caused it, if any.
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