Liking cljdoc? Tell your friends :D
Clojure only.

quil.middlewares.safe-fns


safe-fnsclj

(safe-fns options)

Wraps all functions in options such that they will not throw exceptions. If a function (for example draw) throws an exception, the exception is caught, printed to stdout and execution of the program is paused for 1 sec. The sketch will not be aborted, it will continue to run, making it possible to fix the function and reload it on the fly.

Wraps all functions in `options` such that they will not throw exceptions.
If a function (for example `draw`) throws an exception, the exception is
caught, printed to `stdout` and execution of the program is paused for
1 sec. The sketch will not be aborted, it will continue to run,
making it possible to fix the function and reload it on the fly.
sourceraw docstring

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

× close