Next: , Up: restarts   [Index]


1.18.1 Signalling conditions

Function: signal cnd

Signal a condition by raising it with raise-continuable. Perform what is needed to handle the restarts protocol. cnd must be a condition object (simple or compound).

As defined by Common Lisp: signal should return if no handler accepting the condition is found; in this implementation this normal return will not happen by default. To implement such behaviour we have to wrap the whole code in a form like this:

(with-return-to-signal-on-unhandled-exception
  ?body0 ?body …)
Syntax: with-return-to-signal-on-unhandled-exception ?body0 ?body

Do what is needed to allow signal to just return if all the installed condition handlers decline to handle the signalled condition.