Genral clean up and moving of code.

This commit is contained in:
2026-07-30 17:01:33 +02:00
parent b37ca9222d
commit 2abe392890
19 changed files with 141 additions and 18 deletions
@@ -1,3 +1,4 @@
using FinancialApi.Domain.Exceptions;
using Microsoft.AspNetCore.Diagnostics;
using Microsoft.AspNetCore.Mvc;
@@ -11,7 +12,7 @@ public class DomainExceptionHandler : IExceptionHandler
CancellationToken cancellationToken
)
{
if (exception is not (InvalidOperationException or ArgumentException))
if (exception is not (InvalidOperationException or ArgumentException or GaapViolationException))
{
return false;
}