Distinguishing different types of exception #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In order to selectively catch exceptions, we've got to be able to distinguish between them. Which means we need to pass an identifier — a number or a symbolic tag — as well as a message and a frame pointer.
Which means an exception cannot fit into a single cons space object.
Solutions
EXEP
, which points to a stack frame and anEXDT
object;EXDT
, which points to a string and holds a numericexeption-type
id.