Skip to main content

Result

Type Alias Result 

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

Result type for this crate, using GaiaError as the error type

This type alias simplifies error handling; all functions that might return an error should use this type.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(GaiaError)

Contains the error value