|
|
|
|
|
by dullgiulio
3320 days ago
|
|
Exceptional situations as in crashes, like writing to 0x0 address? Otherwise no, there is really no good reason for having some orthogonal value returning system that can jump up the stack until it's caught (if ever.) Many situations that are often considered exceptional are really not: cannot connect to server, no such file or directory, cannot bind to port... |
|
Including such connection failures or file open failures. They may have to be handled, but not at cost to the hot path.
You cannot typically just "eat" such an error with default behaviour and expect whatever relied on it to work properly.