Hey @OsmandFernando
To configure this, you can use the IfError function as:
Since, this is an experimental feature, you need to turn on the Formula-level error management feature.
App Settings -> Advanced Settings -> Formula-level error management -> Enable
Now, use the expression as:
IfError(Patch(...);Notify("Data Saved!",NotificationType.Success),Notify("There is an error.",NotificationType.Error))
Here, the first argument should be the action that you need to check for an error.
For more details, please refer: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-iferror
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!