Refactored endpoints to be more functional and more expressive

This commit is contained in:
2026-09-01 11:23:25 +02:00
parent 346cb8da5f
commit 2df5b5c2ed
86 changed files with 1565 additions and 1575 deletions
@@ -0,0 +1,14 @@
namespace PostFundManagement.Domain.Errors;
public sealed class IdDecodeError : Error
{
public static IdDecodeError New { get; } = new();
public IdDecodeError() : base(string.Empty) { }
public IdDecodeError(string message) : base(message) { }
public static IdDecodeError Create() => new();
public static IdDecodeError Create(string message) => new(message);
}