Ensure `searchParams` access in `"use cache"` triggers error when caught (#77838)
Accessing search params in `"use cache"` functions is not allowed. We need to make sure that a build or dev error is still triggered even when the `searchParams` access is wrapped in a try/catch block.
This also fixes a bug where the errors were not correctly source-mapped with Turbopack.
related: #75662
closes NAR-86