[tw5] Global error trap location

Can someone tell me where the code for the global error trap is located?
I need to suppress an error: ResizeObserver loop limit exceeded

Hi,
When the “global error trap” shows up, it indicates a severe problem. Usually the browser tab has to be reloaded, since the app is in an unpredictable state and the users have a very high risk to loose date, if they ignore it.

So the way to go is, to handle that error, where it is caused. In your code, because only there it can be decided, if it is save to go on or to completely restart the app.

IMO the best way is to use a try / catch construction. There are several examples in the core code.

-mario