How to handle multiple error response in React?

Create separate Reducer for Generic Error Handler

export const genericErrorReducer=(state,action){
 switch(action.type){
    case 'GENERIC_ERROR':
    return {
      error:action.payload
    }
 }
}

call this when you are getting error from server rather then creating separate local state for each error