Add hooks for caught/uncaught exception responses.