Type Alias pace_core::TestResult

source ·
pub type TestResult<T> = Result<T, Box<dyn Error + 'static>>;
Expand description

Result type that is being returned from test functions and methods that can fail and thus have errors.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Box<dyn Error>)

Contains the error value