Skip to main content

stylex_bail

Macro stylex_bail 

Source
macro_rules! stylex_bail {
    ($($arg:tt)*) => { ... };
}
Expand description

Like anyhow::bail!() but wraps the error in StyleXError.

Returns Err(anyhow::Error) with the [StyleX] prefix.