9 lines
206 B
Rust
9 lines
206 B
Rust
|
|
#[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>;
|