Error Pages in Nested Layouts
Scope error boundaries to sections of the app using layout-level error pages.
Error Boundaries Per Folder
Each +layout.svelte folder can have its own +error.svelte to catch errors locally.
Scoping Failures
An error in an admin route can show an admin-styled error page without breaking the whole site.
All lessons in this course
- +error.svelte for Custom Error Pages
- Expected vs Unexpected Errors
- error() and redirect() Helpers
- Error Pages in Nested Layouts