Db, add atproto error support
This commit is contained in:
parent
1d1f8ae60f
commit
df1da0905d
2 changed files with 5 additions and 3 deletions
|
|
@ -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>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue