3 ms·
What about the ones you can recover from? You don't want to crash the entire application every time there's an exception!
by breadwinner 1y ago
What about the ones you can recover from? You don't want to crash the entire application every time there's an exception!
- Kwpolska 1y agoYou usually wouldn’t crash the entire application, the request that causes the issue will return a 500 error. (Or equivalents for non-web environments.)
- breadwinner 1y agoSome exceptions are not recoverable and may cause 500 error. Others such as FileNotFound are recoverable, for example by reading the file from an alternate location.