catch[magic form] catch identifier form
RRS: evaluates the form in an environment where the identifier is bound to an escape object.
[syntax] catch expression1 expression2 ...
STk: Evaluates expressions. If an error
occurs, the evaluation of the rest of expressions
are aborted and the form returns #t. Otherwise, the
form returns #f.
[syntax] catch key thunk handler
Kawa: Set handler as an exception handler associated with key
and evaluate thunk in such dynamic context.
handler is called as (handler key args ...).
See also throw.
|