use `$app->abort(404, 'Entry not found');` instead