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
Result property is not set in constructor of exception, therefore it is always Result.Ok which prevents proper exception handling.
Steps to Reproduce
public partial class ResultException : Exception
{
public readonly Result Result;
public ResultException(Result result) : base(result.ToString())
{
}
}
Expected Behavior
Result property is set accordingly to exception type (result value)
Current Behavior
Result property is always at it's default value - Result.Ok