diff --git a/README.md b/README.md index cfa3e8c..87c02c9 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ commitMutation(environment, {mutation, variables}) // handle successful response }) .catch(error => { + const graphqlErrors = error.source.errors; // handle error }); ```