Type Alias subplotlib::prelude::StepResult

source ·
pub type StepResult = Result<(), StepError>;
Expand description

Result type using StepError.

This is useful for use in situations where you might use #[throws(...)]. Step functions generated using the step macro will automatically set this as their return type by means of #[throws(StepResult)].

Aliased Type§

enum StepResult {
    Ok(()),
    Err(Box<dyn Error>),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(Box<dyn Error>)

Contains the error value