Skip to content

Commit

Permalink
Merge pull request #555 from bothzoli/fix/add-ierror-of-string-to-result
Browse files Browse the repository at this point in the history
Add IError<string> to the Result struct
  • Loading branch information
vkhorikov authored Aug 11, 2024
2 parents 5af110d + f8d7608 commit 37e3142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CSharpFunctionalExtensions/Result/Result.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace CSharpFunctionalExtensions
{
[Serializable]
public readonly partial struct Result : IResult, ISerializable
public readonly partial struct Result : IResult, ISerializable, IError<string>
{
public bool IsFailure { get; }
public bool IsSuccess => !IsFailure;
Expand Down

0 comments on commit 37e3142

Please sign in to comment.