For exmaple I have a page.tsx which is a server component
export default async function Page() { await checkUserPermission(...) const data = await getData() const data2 = await getData2() // ...}Let's assume this server component might throw UserNotFound, UserNoPermission, DataNotFound, DataNoPermisison, Data2NotFound, or Data2NoPermisison... (even more)
The question is: How do I show the error to user side properly?
The issue is, I know there's error.tsx, but it's in client side, I have only get server error digest, which is totally useless for my customer...
If you suggest me to write everything into promise and bypass to client component, NO, that's waste too much work.