public ResultOrErrorResponse(GenericHttpResponse error) { _errorResponse = error; _result = default(T); }
public ResultOrErrorResponse(T result) { _result = result; _errorResponse = null; }