pub type ChieResult<T> = Result<T, ChieError>;Expand description
Generic result type for CHIE operations
This type provides consistent error handling across the crate with optional error context for better debugging.
Aliased Type§
pub enum ChieResult<T> {
Ok(T),
Err(ChieError),
}Variants§
Trait Implementations§
Source§impl<T> ResultExt<T> for ChieResult<T>
impl<T> ResultExt<T> for ChieResult<T>
Source§fn with_context<F>(self, f: F) -> ChieResult<T>
fn with_context<F>(self, f: F) -> ChieResult<T>
Add context using a closure (lazy evaluation) Read more