Type Alias Result

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

Result type for Open Payments client operations.

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

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(OpClientError)

Contains the error value