We’ve added a new event type, “An element had an error running a workflow”.
As you probably know, when an error happens in a user-interaction-initiated workflow (clicking a button, changing an input, etc), we pop up an alert with the error message.
This isn’t always the greatest user experience. Sometimes you might want to give the user the option to retry, take them back to a previous page, show a link to ask for help, etc. Or maybe you want to show the same error message, but show it in a nicely-formatted alert that matches your app’s branding rather than show it in the browser-default alert popup.
This event lets you do that. You can create one or more such events per per element, and set conditions on them based on the state of the page and the error code that occurred. If any of the conditions pass, then the default error alert will not be shown; instead, your workflow(s) will run.
More information here: https://bubble.io/reference#Events.ButtonClicked