(rontolisp) docs
← State

set-error-handler!

(set-error-handler! a h)

Sets the agent's error handler, called with the agent and the error when an action fails (a failure of the handler itself is ignored), and answers nil. It leaves the mode as it is (set-error-mode!). Works as a function value.

failed: boom
1