20.3 Additional exception mechanisms
We do not cover the entire Dylan exception protocol in this book. Here, we mention briefly certain other techniques that we do not discuss further in this book:
You can signal conditions with
cerror, andbreak, in addition to with theerrorandsignalfunctions. Thecerrorfunction establishes a simple restart, then signals an error in a manner similar toerror. Thebreakfunction directly invokes the debugger without signaling.The
exceptionclause ofblockandlet handlertakes several options that, among other things, can facilitate restart signaling and handling.There are additional protocols for attaching a user interface to returning or restarting (
return-query,restart-query), which could be used with handlers that act like interactive debuggers.
See The Dylan Reference Manual, for more information.




