Skip to content

Commit

Permalink
[📚 docs] More details about error handling in the migration guide (#5787
Browse files Browse the repository at this point in the history
)

* More details about error handling in the migration guide

* formating
  • Loading branch information
martinbonnin committed Apr 9, 2024
1 parent 045b76c commit f703777
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/source/migration/4.0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ We recommend using the plugin to automate the repetitive tasks but still go thro

## Error handling

> ⚠️ Error handling changes are a behaviour change that is not be detected at compile time. Usages of `execute`, `toFlow` and `watch` must be updated to the new error handling or changed to their v3 compat equivalent.
<Caution>
Error handling changes are a behaviour change that is not detected at compile time. Usages of `execute`, `toFlow` and `watch` must be updated to the new error handling or changed to their v3 compat equivalent.

See [`executeV3` and `toFlowV3`](#migration-helpers) for temporary methods to help with the migration.

See [nullability](../advanced/nullability) for a quick peek at the future of GraphQL nullability and error handling.
</Caution>

### Fetch errors do not throw

Expand Down

0 comments on commit f703777

Please sign in to comment.