[squeak-dev] [Discussion] Warning vs. Halt (or: "Why is a warning a notification?")
Jakob Reschke
forums.jakob at resfarm.de
Sat Nov 2 13:39:47 UTC 2019
Marcel Taeumel <marcel.taeumel at hpi.de> schrieb am Sa., 2. Nov. 2019, 13:54:
> Are there other exception mechanisms out there that have notifications at
> all?
>
In Common Lisp exceptions are called conditions and error is a subtype of
condition. However whether a debugger appears in case of an unhandled
condition is not determined by the type of the condition, but by whether
the condition was signalled with the function #'signal or with the function
#'error. The latter establishes a default handler that opens the debugger.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20191102/47afab86/attachment.html>
More information about the Squeak-dev
mailing list
|