Added source and destination accounts.
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
use crate::domain::{CentsError, ScheduleError};
|
||||
use crate::{
|
||||
database::DatabaseError,
|
||||
domain::{CentsError, ScheduleError},
|
||||
};
|
||||
|
||||
pub mod accounts;
|
||||
pub mod dtos;
|
||||
@@ -9,7 +12,7 @@ pub mod transactions;
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
pub enum RepositoryError {
|
||||
#[error(transparent)]
|
||||
Database(#[from] sqlx::Error),
|
||||
Database(#[from] DatabaseError),
|
||||
|
||||
#[error(transparent)]
|
||||
Decode(#[from] DecodeError),
|
||||
|
||||
Reference in New Issue
Block a user