Files
yarr/src/errors.rs
2025-10-08 14:50:15 +05:30

7 lines
207 B
Rust

pub use error_stack::{Report, ResultExt};
#[derive(Debug, thiserror::Error)]
#[error("An error occurred")]
pub struct Error;
pub type Result<T, E = error_stack::Report<Error>> = core::result::Result<T, E>;