text: import {
    RECEIVE_POKEMON_ERRORS
  } from '../actions/pokemon_actions';
  
  const ErrorsReducer = (state = [], action) => {
    switch (action.type) {
      case RECEIVE_POKEMON_ERRORS:
        return [...action.errors];
      default:
        return state;
    }
  };
  
  export default ErrorsReducer;
  