Next steps 5-10: resources, cash flow, QB interop, backfill, HTTP, parallel-run plan
This commit is contained in:
1 parent
5225abb9dd
commit
9fa4232664
1 file changed
+9
@@ -131,4 +131,13 @@ pub enum LedgerError {
|
||||
/// purchase_date + useful life overflows the date range.
|
||||
#[error("purchase date plus useful life overflows the calendar")]
|
||||
AssetDateOverflow,
|
||||
|
||||
/// Cash-flow period end is before period start.
|
||||
#[error("invalid date range: end {end} is before start {start}")]
|
||||
InvalidDateRange {
|
||||
/// Period start, YYYY-MM-DD.
|
||||
start: String,
|
||||
/// Period end, YYYY-MM-DD.
|
||||
end: String,
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user