Skip to content

Commit

Permalink
release 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew E. Rhyne committed Feb 2, 2017
1 parent e849a06 commit eaeef78
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

1.3.0 / 2017-02-01
==================
* Update README.md
* Add Beerpay's badge
* Added isInstance method

1.2.1 / 2016-12-07
==================
* Fixed a bug with overriding message serialization
Expand Down
6 changes: 5 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "apollo-errors",
"version": "1.2.1",
"version": "1.3.0",
"description": "Machine-readable custom errors for Apollostack's GraphQL server",
"main": "dist/index.js",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,5 @@ export const formatError = (originalError, returnNull = false) => {
});
return error.serialize();
};

export const isInstance = e => e instanceof ApolloError;

0 comments on commit eaeef78

Please sign in to comment.