From f8c6957f014d6bc59cef23c416e28802a55d4687 Mon Sep 17 00:00:00 2001 From: Rob Richard Date: Tue, 21 Nov 2017 10:46:04 -0500 Subject: [PATCH] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) 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 }); ```