Skip to main content

Result

Type Alias Result 

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

Type alias for Result<T, OpenFIGIError>.

Convenience type used throughout the crate for consistent error handling.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(OpenFIGIError)

Contains the error value