Skip to content

Commit 85ec86b

Browse files
authored
Merge pull request #2954 from OliverRadini/issues/2947
2 parents 13d48e2 + 995e662 commit 85ec86b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rtk-query/usage/customizing-queries.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ See also [Websocket Chat API with a transformed response shape](./streaming-upda
177177

178178
## Customizing query responses with `transformErrorResponse`
179179

180-
Individual endpoints on [`createApi`](../api/createApi.mdx) accept a [`transformErrorResponse`](../api/createApi.mdx) property which allows manipulation of the errir returned by a query or mutation before it hits the cache.
180+
Individual endpoints on [`createApi`](../api/createApi.mdx) accept a [`transformErrorResponse`](../api/createApi.mdx) property which allows manipulation of the error returned by a query or mutation before it hits the cache.
181181

182182
`transformErrorResponse` is called with the error that a failed `baseQuery` returns for the corresponding endpoint, and the return value of `transformErrorResponse` is used as the cached error associated with that endpoint call.
183183

0 commit comments

Comments
 (0)