using System;

namespace Quadarax.Foundation.Core.Value
{
    
    public class Result
    {        
    
        public bool IsSuccess { get; }
        public Exception ThrownException { get; }


        public Result(Exception e)
        {
            ThrownException = e;
            IsSuccess = false;
        }
        
        public Result()
        {
            IsSuccess = true;
        }
    }
}
