23 lines
420 B
Rust
23 lines
420 B
Rust
mod account;
|
|
mod cents;
|
|
mod direction;
|
|
mod recurring_transaction;
|
|
mod schedule;
|
|
mod transaction;
|
|
|
|
pub use account::*;
|
|
pub use cents::*;
|
|
pub use direction::*;
|
|
pub use recurring_transaction::*;
|
|
pub use schedule::*;
|
|
pub use transaction::*;
|
|
|
|
#[derive(Debug, thiserror::Error)]
|
|
pub enum DomainError {
|
|
#[error(transparent)]
|
|
Amount(#[from] CentsError),
|
|
|
|
#[error(transparent)]
|
|
Schedule(#[from] ScheduleError),
|
|
}
|