Skip to content

Commit fb2fb88

Browse files
KaiErikNiermannzhangmo8
authored andcommitted
docs: typo (#489)
Small typo
1 parent e36fa00 commit fb2fb88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/data-loaders/error-handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
By default, all errors thrown in a loader are considered _unexpected errors_: they will abort the navigation, just like in a navigation guard. Because they abort the navigation, they will not appear in the `error` property of the loader. Instead, they will be intercepted by Vue Router's error handling with `router.onError()`.
44

5-
However, if the loader is **not navigation-aware**, the error doesn't cannot be intercepted by Vue Router and will be kept in the `error` property of the loader. This is the case for _lazy loaders_ and [_reloading data_](./reloading-data.md).
5+
However, if the loader is **not navigation-aware**, the error cannot be intercepted by Vue Router and will be kept in the `error` property of the loader. This is the case for _lazy loaders_ and [_reloading data_](./reloading-data.md).
66

77
To be able to intercept errors in blocking loaders, we can specify a list of error classes that are considered _expected errors_. This allows blocking loader to **not abort the navigation** and instead keep the error in the `error` property of the loader and let the page locally display the error state.
88

0 commit comments

Comments
 (0)