Db, add atproto error support

This commit is contained in:
Julia Lange 2025-06-17 13:55:30 -07:00
parent 1d1f8ae60f
commit df1da0905d
Signed by: Julia
SSH key fingerprint: SHA256:5DJcfxa5/fKCYn57dcabJa2vN2e6eT0pBerYi5SUbto
2 changed files with 5 additions and 3 deletions

View file

@ -3,6 +3,8 @@
pub enum Error {
#[error("Database Implementation Error: {0}")]
Backend(#[from] sqlx::Error),
#[error("AT Protocol Implementation Error: {0}")]
Atproto(#[from] atproto::error::Error),
}
pub type Result<T> = std::result::Result<T, Error>;