Skip to content

Commit 2d05c14

Browse files
committed
Docs: align ErrorPage component name
1 parent 3b64799 commit 2d05c14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guide/error-handling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ class ApplicationController < ActionController::Base
2323

2424
status = ActionDispatch::ExceptionWrapper.new(nil, exception).status_code
2525

26-
render inertia: 'Error', props: { status: }, status:
26+
render inertia: 'ErrorPage', props: { status: }, status:
2727
end
2828
end
2929
```
3030

31-
You may have noticed we're returning an `Error` page component in the example above. You'll need to actually create this component, which will serve as the generic error page for your application. Here's an example error component you can use as a starting point.
31+
You may have noticed we're returning an `ErrorPage` page component in the example above. You'll need to actually create this component, which will serve as the generic error page for your application. Here's an example error component you can use as a starting point.
3232

3333
:::tabs key:frameworks
3434
== Vue

0 commit comments

Comments
 (0)