client/extensions/woocommerce/state/sites/settings/mailchimp/reducer.js
function syncStatusRequestError( state = false, action ) {
	switch ( action.type ) {
		case WOOCOMMERCE_MAILCHIMP_SYNC_STATUS_REQUEST_SUCCESS:
		case WOOCOMMERCE_MAILCHIMP_SYNC_STATUS_REQUEST_FAILURE:
			const error =
				WOOCOMMERCE_MAILCHIMP_SYNC_STATUS_REQUEST_FAILURE === action.type ? action.error : false;
			return error;
	}

	return state;
}
function syncStatusRequestError( state = false, action ) {
	switch ( action.type ) {
		case WOOCOMMERCE_MAILCHIMP_SYNC_STATUS_REQUEST_SUCCESS:
		case WOOCOMMERCE_MAILCHIMP_SYNC_STATUS_REQUEST_FAILURE:
			const error =
				WOOCOMMERCE_MAILCHIMP_SYNC_STATUS_REQUEST_FAILURE === action.type ? action.error : false;
			return error;
	}

	return state;
}
function syncStatusRequestError ( state = false , action ) { switch ( action . type ) { case WOOCOMMERCE_MAILCHIMP_SYNC_STATUS_REQUEST_SUCCESS : case WOOCOMMERCE_MAILCHIMP_SYNC_STATUS_REQUEST_FAILURE : const error = WOOCOMMERCE_MAILCHIMP_SYNC_STATUS_REQUEST_FAILURE === action . type ? action . error : false ; return error ; } return state ; }
Updates state with sync status request error
Holds information only for latest request

@param  {Object} state  Current state
@param  {Object} action Action
@return {Object}        Updated state
Updates state with sync status request error Holds information only for latest request