Skip to content

Commit eaeef78

Browse files
author
Andrew E. Rhyne
committed
release 1.3.0
1 parent e849a06 commit eaeef78

File tree

5 files changed

+16
-3
lines changed

5 files changed

+16
-3
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2+
1.3.0 / 2017-02-01
3+
==================
4+
* Update README.md
5+
* Add Beerpay's badge
6+
* Added isInstance method
7+
18
1.2.1 / 2016-12-07
29
==================
310
* Fixed a bug with overriding message serialization

dist/index.js

+5-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "apollo-errors",
3-
"version": "1.2.1",
3+
"version": "1.3.0",
44
"description": "Machine-readable custom errors for Apollostack's GraphQL server",
55
"main": "dist/index.js",
66
"scripts": {

src/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,5 @@ export const formatError = (originalError, returnNull = false) => {
7979
});
8080
return error.serialize();
8181
};
82+
83+
export const isInstance = e => e instanceof ApolloError;

0 commit comments

Comments
 (0)