3 ms·
What are the other options?
by swah 2y ago
What are the other options?
- marcelr 2y agohandle the errors, ideally manually
- wodenokoto 2y agoWhat error?
- mystified5016 2y agoThe same options we've had literally since computers were invented. Unexpected and unrecoverable errors are as old as computing. This is not some new field of rocket surgery. You use whatever mechanism is available in your language/framework to catch exceptions or errors, and you handle it. The program should do its best to recover, fail gracefully, and emit a useful message or log. This is one of the core tenets of programming. Again, since the dawn of time.