fix project names

This commit is contained in:
Oli Sturm
2026-04-21 23:13:26 +01:00
parent b193f64861
commit 81a164d4a7
23 changed files with 126 additions and 106 deletions
@@ -1,17 +0,0 @@
namespace CsharpFp1.Domain;
/// Custom domain exception thrown when a withdrawal would cause the balance to go below zero
public sealed class InsufficientBalanceException : InvalidOperationException
{
public Money CurrentBalance { get; }
public Money RequestedAmount { get; }
public InsufficientBalanceException(Money currentBalance, Money requestedAmount)
: base(
$"Insufficient balance. Current: {currentBalance.Amount:0.00}, Requested: {requestedAmount.Amount:0.00}"
)
{
CurrentBalance = currentBalance;
RequestedAmount = requestedAmount;
}
}