Innovenergy_trunk/csharp/Lib/Utils/WIP/Result.cs

9 lines
211 B
C#
Raw Normal View History

2023-06-13 11:04:07 +00:00
namespace InnovEnergy.Lib.Utils.WIP;
// TODO: discriminated union
public abstract record Result
{
public sealed record Ok(Object Result) : Result;
public sealed record Error(String Message) : Result;
}