3 ms·
The 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 r
by mystified5016 2y ago
The 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.