4 ms·
If your codebase is a bit more complex than hello world, a single helpful error message is hard to do right, because if you have a crash it should mean s
by gbog 13y ago
If your codebase is a bit more complex than hello world, a single helpful error message is hard to do right, because if you have a crash it should mean something unknown happened that you cannot fix at coding time. So it is better, in error messages, to not try to guess what is the problem and just state the wrongful facts. But then only the log and the traceback will help.
No wonder most people just Google error messages.