I want to define a tripartite `Result` type which represents success, expected failure and unexpected failure (not for the first time I've tried but I have union types now!). It would be nice if I could find three equal-length words which convey these concepts. Which do you like?
-
-
Replying to @propensive
Are they commonly called success, error and fatal, aren't they? Or "ok", "ko", "rip" may also work..
1 reply 0 retweets 1 like -
Replying to @al3Br4mb
The last one doesn't necessarily mean "fatal", as it might be recoverable or diagnosable. It's just "some exception that wasn't expected".
1 reply 0 retweets 0 likes -
Replying to @propensive @al3Br4mb
By the way, this is why I don't really like my own suggestion of `Crash`...
1 reply 0 retweets 0 likes -
Replying to @propensive
on recovering from unexpected error I have my doubts, how to manage unexpected result? except if you can restart the whole thing, like using retry policies..I don't know..maybe 3 types are not enough? you need expected, recoverable and unrecoverable error?
1 reply 0 retweets 1 like
Maybe "unexpected" isn't the right word, exactly. "Unanticipated" might be better, in the sense that it would be a non-fatal exception that hasn't been specially handled, but any production app should probably handle it as an "unknown error" *somewhere*.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.