euv-ui 0.17.0

Reusable UI component library for the euv framework, providing buttons, cards, modals, inputs, and more.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// The phase of an `ErrorBoundary`.
///
/// - `Healthy` — no child render has thrown yet.
///   Render the child normally.
/// - `Caught(String)` — a child render threw; the
///   message is for debugging. Render the fallback.
#[derive(Clone, Debug, Default)]
pub enum ErrorBoundaryPhase {
    /// No child render has thrown.
    #[default]
    Healthy,
    /// A child render threw; the message is for
    /// debugging.
    Caught(String),
}