© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
onFailure function of model actions - Gadget Developers
GD
Gadget Developers
•
13mo ago
•
1 reply
evidanary
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
.
Gadget Developers
Join
Build SAAS apps alongside thousands of other Gadget developers. Get help, and offer help to others in the community.
3,891
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Calling http routes inside model actions
GD
Gadget Developers / help
15mo ago
model actions keep losing access permission
GD
Gadget Developers / help
2y ago
onSuccess function missing in model action
GD
Gadget Developers / help
16mo ago