title: How to handle erros with redux saga
body: <p>I try to error handling with redux saga. Far now its always returning 404 error when i changed the api url. I organized my reducer and redux saga. but ı can't reach to fetching item
  This is my Reducer</p>
  
  <pre><code>const homeReducer = (state : Object = initialState, action : Object) =&gt; {
  
    switch (action.type) {
      case HOME.GET_MOVIES_START:
        return {
          ...state,
          ProgramsLoading: true,
          fetching: true
        };
  
      case HOME.GET_MOVIES_FINISH:
        return {
          ...state,
          ProgramsLoading: false,
          programs: action.programs,
          fetching: true
        };
      case HOME.GET_MOVIES_REJECTED:
        return {
          ...state,
          ProgramsLoading: false,
          fetching: false
        };
      default:
        return state;
    }
  
  };
  </code></pre>
  
  <p>And It's my Redux Saga. There is call api with axios. And manipulate to data in there</p>
  
  <pre><code>function* getPrograms() {
    const { data } = yield call(axios.get, "http://localhost:3000/entries");
    const fetching = false;
    const defaultValue = {
      SeriesFilteredData: [],
      MoviesFilteredData: []
    };
    const reducerFunction = (accumulator, currentValue) =&gt; {
  
      if (currentValue.releaseYear &lt; 2010) {
        return accumulator;
      }
      if (currentValue.programType === "series") {
        accumulator.SeriesFilteredData.push(currentValue);
      }
      else if (currentValue.programType === "movie") {
        accumulator.MoviesFilteredData.push(currentValue);
      }
      return accumulator;
    };
    const results = data.reduce(reducerFunction, defaultValue);
  
    if (results) {
      yield put(homeActions.getProgramsFinish(results));
    }
    else {
      yield put(homeActions.getProgramsRejected({ ProgramsLoading: false }));
    }
  
  }
  function* homeFlow() {
    console.log(getPrograms, "getPrograms");
    yield call(delay, 2000);
    yield call(getPrograms);
  }
  
  export default function* homeSaga() {
    yield takeEvery(HOME.GET_MOVIES_START, homeFlow);
  }
  </code></pre>
  
  <p>How Can I handle to any errors ?</p>