Go Pro Sign Up Login

Buy Now and unlock this series

$

49

.99

$

39

.99

yours forever

Become a Pro and unlock everything

$

24

.99

per month

Error Handling

How do we handle interesting challenges you'll likely encounter while working with Remix.

throw json(" Not found", { status: 404 });

Downloads

Become a pro to download code and videos

Comments

Zack Zboncak

3 months ago

Since this video, the standard template for Remix is much more bare bones and removes the Remix layout you see in the video. Mine also didn't have the ErrorBoundary or CatchBoundaries, or the fancy Layout.

So for anyone looking for those quickly, here they are (below) without the default Remix Layout component. This comes from Scott's code, and removes the Layout.

You can find other examples in Remix's docs.

Root Error Boundary

Root Catch Boundary

Want to join the conversation?

Become a Pro member today!