1 to 7 of 7 results. prev page | next page
Returns the error-handler of agent a, or nil if there is none. See set-error-handler!
Returns the error-mode of agent a. See set-error-mode!
Sets the error-handler of agent a to handler-fn. If an action being run by the agent throws an exception or doesn't pass the validator fn, handler-fn will be called with two arguments: the agent and the exception.
Sets the error-mode of agent a to mode-keyword, which must be either :fail or :continue. If an action being run by the agent throws an exception or doesn't pass the validator fn, an error-handler may be called (see set-error-handler!), after which, if the mode is :continue, the agent will c...
Create and output an exception report for a Throwable to target. Options: :target - "file" (default), "stderr", "none" If file is specified but cannot be written, falls back to stderr.
The number of errors reported by explain in a collection spec'ed with 'every'
Returns the exception thrown during an asynchronous action of the agent if the agent is failed. Returns nil if the agent is not failed.