Skip to content

Commit 728e717

Browse files
committed
Fix typo
1 parent 1f70633 commit 728e717

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/source/migrating/apollo-client-4-migration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1474,7 +1474,7 @@ async function onUserInteraction() {
14741474
}
14751475
```
14761476
1477-
To migrate code that uses an `errorPolicy` of `all`, read the error from the `error` property returned in the result. You can optionally remove any `try`/`catch` statements since all errors types are returned in the resolved promise.
1477+
To migrate code that uses an `errorPolicy` of `all`, read the error from the `error` property returned in the result. You can optionally remove any `try`/`catch` statements since the promise resolves for all error types.
14781478
14791479
```ts disableCopy=true
14801480
const [execute] = useLazyQuery(QUERY, {

0 commit comments

Comments
 (0)