Liking cljdoc? Tell your friends :D
Clojure only.

clojang.caller


callclj

(call func)
(call func args)

This function is intended to be used under the hood by all Clojang functions that need to call jiface functions, catching all exceptions (should they arise), returning either the result of the jiface call or error data in the event of an underlying exception.

This function is intended to be used under the hood by all Clojang
functions that need to call `jiface` functions, catching all
exceptions (should they arise), returning either the result of the
`jiface` call or error data in the event of an underlying exception.
sourceraw docstring

call!clj

(call! func)
(call! func args)

This function is intended to be used under the hood by all Clojang functions that need to call jiface functions but that don't return results. The intent is to normalize such calls (which in Erlang sometimes return true or ok) with a consistent side-effects result: :ok. Since this function calls to call above, the same applies for any underlying exceptions that arise: they are converted to data and returned as a data structure.

This function is intended to be used under the hood by all Clojang
functions that need to call `jiface` functions but that don't return
results. The intent is to normalize such calls (which in Erlang sometimes
return `true` or `ok`) with a consistent side-effects result: `:ok`.
Since this function calls to `call` above, the same applies for any
underlying exceptions that arise: they are converted to data and
returned as a data structure.
sourceraw docstring

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

× close