Skip to main content

Result

Type Alias Result 

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

Result type for Open Payments client operations.

This is a type alias for Result<T, Box<OpClientError>> that provides a convenient way to handle client operation results with detailed error information.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Box<OpClientError>)

Contains the error value