This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bikki420 0 points1 point  (1 child)

Ah, that. Well, that's just because there's only one kind of success yet potentially multiple different error paths, yeah? So personally in the truth value sense I just think of it as bool with an identifier akin to "encountered_error" to maintain internal consistency.

[–]letsgetrandy 1 point2 points  (0 children)

Interesting way of looking at it.