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

9 lines
211 B
C#

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;
}