This will catch the `BadRequestHttpException` and `NotFoundHttpException` being thrown, too as they extend `\RuntimeException`.