Defined a processor result to handle error states
This commit is contained in:
parent
b233268d16
commit
22778fbcf6
3
I18N Commander/Processor/ProcessorResult.cs
Normal file
3
I18N Commander/Processor/ProcessorResult.cs
Normal file
@ -0,0 +1,3 @@
|
||||
namespace Processor;
|
||||
|
||||
public readonly record struct ProcessorResult<TResult>(TResult? Result, bool Successful = true, string ErrorMessage = "");
|
Loading…
Reference in New Issue
Block a user