Resource global error handlers

Hey everyone,

Hoping we can prioritize setting some default event handlers on resource level.

Imagine scenario where you use an API error messages come in a nested JSON
data.error_v2.message (data.error_v2.code) instead of creating user friendly notification on each individual query adding a global default setting that would handle a specific scenario would be great QoL feature for both the developers and end users of Retool.

5 Likes

I remember raising this before for GraphQL resources - where EVERY single error response comes as a json object with null data and an errors array.
Manually updating each error handler one by one was absolutely soul-draining :melting_face: