I recently built a pretty extensive application with 100s callbacks. Currently, I’m attempting to make the application more reliable by handling custom exceptions. However, in the process of this, I ran into an issue I don’t know how to solve. Hoping someone might be able to help.
My goal, if possible, is to handle exceptions mostly via method decorators, then fire off an alert in the application with the custom exception message. The problem with my current framework, is I would have to consolidate all of the callbacks into a single callback to output the alert, which is not feasible. Is there another way to go about this that I’m missing?