© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Matthew Wang
"Error handling is done by returning an error in the catch block of a try-catch statement.
That's then sent up to your nearest error UI boundary which you define like error.tsx."
I'm pretty sure the error is sent up only if you throw?