Refactored endpoints to be more functional and more expressive
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user