Module arrival_failure
Expand description
The one face for something that did not arrive.
A piece of data that failed to load (ArrivingView)
and a window that did not open show the same thing: an error banner that
says what failed, then why, with the way to try again as its action
(arrival_failure). A window shows it as a WindowFailure: the same
banner, centred in the window’s area at the readable width.
Structs§
- Window
Failure - The failure face filling a window: the banner centred in the area at the readable width, standing at rest from its first frame (the window’s arrival brings it in).
Functions§
- arrival_
failure - The failure face:
titlesays what failed (never an app’s name, which its window already shows),reasonsays why. The caller adds the way to try again withBanner::with_action.