I would like to create a generic error handler defined somewhere in a class (or if not possible a routine that calls a class).
This should not be page specific but for the whole app (as I have lots of CSP pages inside a legacy app). Obvisouly this will not be a single try catch block but rather something setup at system level (or web application level if not possible). The same way it's possible to handle sessions in a global way (by having aclass that inherit from %CSP.SessionEvents).
Caché Server Pages (CSP) is both an architecture and toolset used to build an interactive web applications with the InterSystems Data Platform.


.png)
.png)