2 ms·
Naively, what is the difference between panics and exceptions? Is it the philosophy on when/how to use them?
by vacuity 3y ago
Naively, what is the difference between panics and exceptions? Is it the philosophy on when/how to use them?
- IshKebab 3y agoYes, and also exceptions can have arbitrary value associated with them. You aren't going to get far using panics as a general error handling mechanism because there's only one type of panic.