Registration was recorded. Confirmation is pending. The account view failed to load. Calling all three “registration failed” encourages the participant to repeat work that already succeeded.
| Operation | Known Result | Useful Next Action |
|---|---|---|
| Registration | Recorded | Keep that result. |
| Confirmation | Pending | Continue the owed delivery. |
| Account view | Unavailable | Refresh the view. |
A remote timeout is different again: the source may have applied the effect even though no acknowledgement arrived. Pending means work is known to remain; unknown means available evidence does not establish the outcome.
| Misleading Message | More Accurate Message |
|---|---|
| “Registration failed. Try again.” | “Registered. Confirmation pending. Reload your account view.” |
| “Send failed.” after losing the response | “Send outcome unknown. Check operation 42 before resending.” |
Engineering Depth
The reference names real identity alternatives:
pub enum IdentityFailure {
Rejected,
Unavailable,
InvalidObservation,
}
A presentation can distinguish them without inventing permission:
match failure {
IdentityFailure::Rejected => "Identity was not accepted.",
IdentityFailure::Unavailable => "Identity check is unavailable.",
IdentityFailure::InvalidObservation => "The provider returned invalid data.",
}
The match is exhaustive: every declared alternative is handled. Replacing it with a catch-all “try again” would erase meaning, even if it compiled.
This enum belongs to identity verification. A pure label formatter does not need the same alternatives; remote delivery may need other outcomes, including uncertainty. The story decides which alternatives are real.
Your Reflection
An authorized reviewer records “reject this proposal.” Did the review operation fail?
Saved in this browser. Export a copy before changing devices.
Worked Discussion
The review completed with a rejection decision. Refusing an unauthorized person's attempt to review is a different outcome. Name the effect whose success or failure you mean: recording the decision, executing the operation, loading the view or verifying the result.