What I want is to sign out the user if an exception/error happens (instead of crashing the app).
I don't want to add try/catch all over my code (all view controllers for example), I want something simples, one try/catch (or whatever else I need) to catch an exception that happened (and was not handled) anywhere in the code.
How can I achieve this?
Thank you.