Add a 600 error code case, and log out the user
code:
c function switchStatus(error, action, timeToDelay = 0) {
  let plainAction;
  if (isObservable(action)) plainAction = await action.toPromise();
  console.log('\n\n---- Error action ----', plainAction, '\n', action, '\n', error, '\n\n');

  let mensajeError = '';

  switch (error.status) {
    case 0:
    case 504:
    case 502:
    case 503:
      dispatch(generalActions.loading_show());
      setTimeout(() => dispatch(action), timeToDelay + 1000);
      break;
    case 400:
      Sentry.Native.captureMessage('ERROR - 400', {
        extra: { error, plainAction, action },
      });
      dispatch(generalActions.errorAlert('Se produjo un error.'));
      break;
    case 401:
      logEvent('LOGOUT_401');
      dispatch(usersActions.logout());
      break;
    case 404:
      mensajeError = error.response && error.response.error && error.response.error.message;
      if (!mensajeError) mensajeError = 'Error - No encontrado';
      Sentry.Native.captureMessage('Error 404', {
        extra: { error, action, plainAction },
      });
      dispatch(generalActions.errorAlert(mensajeError));
      break;
    case 422:
      Sentry.Native.captureMessage('Error - Code 422', {
        extra: { error, plainAction },
      });
      dispatch(generalActions.errorAlert('Error en los datos del formulario'));
      break;
    case 429:
      error.xhr?._response ? dispatch(generalActions.errorAlert(error.xhr._response)) : dispatch(generalActions.errorAlert('Error'));
       Write your response with exactly 5 paragraphs, separated with the markdown divider: ***.
user