How to make a global exception handler in Keycloak
I am running Keycloak in a docker container and wrote a SPI, which provides some custom rest endpoints. I compiled the code, placed the jar in the Keycloak providers folder and everything works fine. Now I want to make a global exception handler and I can not find anything in the documentation or online that works.