Action Creator: The Stripe Connect account OAuth flow was not able to be completed.

@param {Number} siteId The id of the site which we tried doing OAuth for.
@param {Object} action The action used to try and complete OAuth for the account.
@param {Object} error Error and message returned (from the error object).
@return {Object} Action object
 Note: Stripe and WooCommerce Services server errors will be returned in message, but message will be empty for errors that the WooCommerce Services client generates itself so we need to grab the string from the error field inside the error object for those.
function oauthConnectFailure( siteId, action, { error, message } ) {
	return {
		type: WOOCOMMERCE_SETTINGS_STRIPE_CONNECT_ACCOUNT_OAUTH_CONNECT_COMPLETE,
		error: message || error,
		siteId,
	};
}