nl_tokens: Updates state with newsletter settings submit error Holds information only for latest request
pl_tokens: function newsletterSettingsSubmitError ( state = false , action ) { switch ( action . type ) { case WOOCOMMERCE_MAILCHIMP_NEWSLETTER_SETTINGS_SUBMIT_SUCCESS : case WOOCOMMERCE_MAILCHIMP_NEWSLETTER_SETTINGS_SUBMIT_FAILURE : const error = WOOCOMMERCE_MAILCHIMP_NEWSLETTER_SETTINGS_SUBMIT_FAILURE === <mask> . type ? action . error : false ; return error ; } return state ; }