Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 7 additions & 0 deletions
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‎

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/index.js.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
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‎

Lines changed: 2 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /