appview/db/src/error.rs

9 lines
206 B
Rust
Raw Normal View History

2025-06-13 10:02:01 -07:00
#[non_exhaustive]
#[derive(Debug, thiserror::Error)]
pub enum Error {
#[error("Database Implementation Error: {0}")]
Backend(#[from] sqlx::Error),
}
pub type Result<T> = std::result::Result<T, Error>;