By following https://www.slimframework.com/docs/handlers/error.html this link, I am able to override the existing error handlers in Slim.
In \Slim\App::handleException() I see there are 3 which are registered. In my project I want to introduce 2 new error handlers like:
Is there a way to do this? Do I have to override 'protected function handleException' for this?