Liking cljdoc? Tell your friends :D

loom-otp.process.exit

Exit handling: exceptions, reasons, and exit API.

Exit handling: exceptions, reasons, and exit API.
raw docstring

ex->reasonclj

(ex->reason e)

Convert an exception to an exit reason. If the exception has an ::exit-reason in ex-data, returns that. Otherwise returns [:exception e] with the raw Throwable.

For custom exception formatting, use :ex->reason-fn spawn option.

Convert an exception to an exit reason.
If the exception has an ::exit-reason in ex-data, returns that.
Otherwise returns [:exception e] with the raw Throwable.

For custom exception formatting, use :ex->reason-fn spawn option.
sourceraw docstring

exitclj

(exit reason)
(exit pid reason)

Exit current process or send exit signal to another.

(exit reason) - exit current process with reason (exit pid reason) - send exit signal to pid with current process's context

Exit current process or send exit signal to another.

(exit reason) - exit current process with reason
(exit pid reason) - send exit signal to pid with current process's context
sourceraw docstring

exit-exceptionclj

(exit-exception reason)

Create an exception for process exit.

Create an exception for process exit.
sourceraw docstring

exit-exception?clj

(exit-exception? e)

Returns true if e is an exit exception.

Returns true if e is an exit exception.
sourceraw docstring

exit-reasonclj

(exit-reason e)

Extract exit reason from an exit exception, or nil.

Extract exit reason from an exit exception, or nil.
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