3 ms·
The implementation, outcome, use-case, and characteristics of panics are all very different from exceptions. The only marked similarity between the two is that
by xcdzvyn 4y ago
The implementation, outcome, use-case, and characteristics of panics are all very different from exceptions. The only marked similarity between the two is that they both interrupt program execution (and in different ways). But I feel as if you already knew that.
- tomp 4y agoPanics support stack traces, unwind the stack, releases the memory, and can either be recovered in some situations, or prints an error message. Sounds like Python exceptions.