onFailure function of model actions

Just like the onSuccess function, I'd like to run some code for onFailure when there is a error thrown in the run function. I don't see an onFailure here: https://gadget.dev/blog/building-with-the-gadget-action-framework Does Gadget have support for onFailure functions for model actions?
Gadget
Deep dive: Building with Gadget Actions
Learn more about how and why Gadget Actions work the way they do, and how to effectively use them in your projects.
1 Reply
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?