Defined a processor result to handle error states

This commit is contained in:
Thorsten Sommer 2022-07-17 12:35:09 +02:00
parent b233268d16
commit 22778fbcf6
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -0,0 +1,3 @@
namespace Processor;
public readonly record struct ProcessorResult<TResult>(TResult? Result, bool Successful = true, string ErrorMessage = "");