The main entry point of the program.
The main entry point of the program.
(-main & args)
A protected version of main that catches any exception.
If an exception has :exit/code
value in its ex-data,
we consider it as expected one and show just ex-message.
Otherwise, log the full exception.
A protected version of main that catches any exception. If an exception has `:exit/code` value in its ex-data, we consider it as expected one and show just ex-message. Otherwise, log the full exception.
(-main* args)
An unsafe version of the main function. Takes arguments as a single collection (not variadic & args).
An unsafe version of the main function. Takes arguments as a single collection (not variadic & args).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close