The linked discussion has one of the most succinct comments about error handling I've seen.
You handle the result codes you know what to do with, and everything that remains means your program should explode immediately.
You handle the result codes you know what to do with, and everything that remains means your program should explode immediately.