In the Slim 3 based version of this framework, some exceptions get handled by Slim's default exception handler even when errorHandler is set in the application. Perhaps look into a try catch in public/index.php or advise users to use an error handler that gets rendered with pure php, no templating engine.