Return account details.
This commit is contained in:
@@ -21,6 +21,12 @@ pub enum RepositoryError {
|
||||
QueryConversion(#[from] QueryConversionError),
|
||||
}
|
||||
|
||||
impl From<sqlx::Error> for RepositoryError {
|
||||
fn from(error: sqlx::Error) -> Self {
|
||||
Self::Database(DatabaseError::from(error))
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
pub enum DecodeError {
|
||||
#[error(transparent)]
|
||||
|
||||
Reference in New Issue
Block a user