fabryk_storage/error.rs
1//! Error types for fabryk-storage
2
3use thiserror::Error;
4
5/// Result type alias for fabryk-storage operations
6pub type Result<T> = std::result::Result<T, Error>;
7
8/// Errors that can occur in fabryk-storage
9#[derive(Error, Debug)]
10#[non_exhaustive]
11pub enum Error {
12 /// Error from fabryk-core
13 #[error("Core error: {0}")]
14 Core(#[from] fabryk_core::Error),
15
16 /// Placeholder error variant
17 #[error("Not yet implemented: {0}")]
18 NotImplemented(&'static str),
19}