Type Alias sp_database::error::Result

source ·
pub type Result<T> = Result<T, DatabaseError>;
Expand description

A specialized Result type for database operations.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(DatabaseError)

Contains the error value