Liking cljdoc? Tell your friends :D
Clojure only.

vault.client.api-util


supports-not-foundcljmacro

(supports-not-found on-fail-opts & body)

Tries to perform the body, which likely includes an API call. If a 404 ::api-error occurs, looks for and returns the value of :not-found in on-fail-opts if present

Tries to perform the body, which likely includes an API call. If a `404` `::api-error` occurs, looks for and returns
the value of `:not-found` in `on-fail-opts` if present
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close