Skip to main content

Result

Type Alias Result 

Source
pub type Result<T> = Result<T, AstroError>;
Expand description

Type alias for Results in this crate.

All fallible operations in astro-math return this Result type.

Aliased Type§

pub enum Result<T> {
    Ok(T),
    Err(AstroError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(AstroError)

Contains the error value