3 ms·
Uh, thanks! You are completely right. I forgot that it's not just an unconditional unwrap. What I wanted to communicate is that I find that in many cases error
by pas 8y ago
Uh, thanks! You are completely right. I forgot that it's not just an unconditional unwrap.
What I wanted to communicate is that I find that in many cases error handling is a sort of twilight zone. When the environment or context of the running program is not what it should be. (Eg file not found, lack of permission to write to it, not enough memory, something is not configured, missing runtime dependency; and all the state validation errors, etc.) And the errors that result from this are usually too low level, and there is rarely enough information in the error messages (types) themselves to help understand (and potentially work around) the condition causing the error.