You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful to have an Error class similar to the existing ValidationError class, which can be used to encapsulate error details. Something like this:
public class Error
{
public string Message { get; set; }
public string Code { get; set; }
}
Additionally, it would be great to add a static Error method in both the Result<T> and Result classes that accepts an Error object.
The text was updated successfully, but these errors were encountered:
It would be helpful to have an
Error
class similar to the existingValidationError
class, which can be used to encapsulate error details. Something like this:Additionally, it would be great to add a static Error method in both the
Result<T>
andResult
classes that accepts an Error object.The text was updated successfully, but these errors were encountered: