Defined a processor result to handle error states
This commit is contained in:
1 file changed
+3
@@ -0,0 +1,3 @@
|
|||||||
|
namespace Processor;
|
||||||
|
|
||||||
|
public readonly record struct ProcessorResult<TResult>(TResult? Result, bool Successful = true, string ErrorMessage = "");
|
||||||
Reference in new issue
Block a user