Reframework general handler for application error

How do we generally capture an application error in reframework by adding a transition ? that if the error above occur it will directly go to end process.

In the app there is an instance randomly that this error on the screenshot will error , I also don’t have the selectors of the error , I cant also kill the process because of no access error.

Is there a way in reframework to generally or globally detect application error for example on the screenshot ? and will just add transition that will go to end process ?. Thanks.

image

Any idea ? Thanks.