@tanstack/react-router 1.125.6 → 1.127.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1531,22 +1531,6 @@ const router = createRouter({
1531
1531
  - Optional
1532
1532
  - A route that will be used as the default not found route for every branch of the route tree. This can be overridden on a per-branch basis by providing a not found route to the \`NotFoundRoute\` option on the root route of the branch.
1533
1533
 
1534
- ### \`errorSerializer\` property
1535
-
1536
- - Type: [\`RouterErrorSerializer\`]
1537
- - Optional
1538
- - The serializer object that will be used to determine how errors are serialized and deserialized between the server and the client.
1539
-
1540
- #### \`errorSerializer.serialize\` method
1541
-
1542
- - Type: \`(err: unknown) => TSerializedError\`
1543
- - This method is called to define how errors are serialized when they are stored in the router's dehydrated state.
1544
-
1545
- #### \`errorSerializer.deserialize\` method
1546
-
1547
- - Type: \`(err: TSerializedError) => unknown\`
1548
- - This method is called to define how errors are deserialized from the router's dehydrated state.
1549
-
1550
1534
  ### \`trailingSlash\` property
1551
1535
 
1552
1536
  - Type: \`'always' | 'never' | 'preserve'\`