11 lines
413 B
Markdown
11 lines
413 B
Markdown
# 16_conditions
|
|
|
|
Conditions, handlers, restarts: the crown jewel of Common Lisp.
|
|
|
|
ERROR signals, HANDLER-CASE catches, UNWIND-PROTECT cleans up.
|
|
DEFINE-CONDITION makes your own error types, and restarts let the
|
|
recovery happen exactly where it makes sense. :REPORT words a
|
|
condition for humans, WARN and SIGNAL carry on instead of
|
|
unwinding, restarts can take arguments, and IGNORE-ERRORS swaps an
|
|
error for NIL.
|