[FEATURE] Add callback for unhandled exceptions in controllers