Skip to content

Commit 1d193f6

Browse files
Update README.md
1 parent eaeef78 commit 1d193f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,6 @@ If the error is a known ApolloError, returns the serialized form of said error.
102102
**Otherwise**, *if strict is not truthy*, returns the original error passed into formatError.
103103

104104
**Otherwise**, *if strict is truthy*, returns null.
105+
106+
### isInstance (error): Boolean
107+
Returns true if the error is an instance of an ApolloError. Otherwise, returns false

0 commit comments

Comments
 (0)