public static QueryResult <TResult> WithError(Failure error, bool retry = false) { return(new QueryResult <TResult>(error, retry)); }
public QueryResult(Failure error, bool retry = false) : base(error, retry) { }
public Result(Failure error, bool retry = false) : this(new List <Failure> { error }, retry) { }