Skip to content

Commit e949112

Browse files
author
Andrew E. Rhyne
committed
release 1.1.0
1 parent d5ed772 commit e949112

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11

2+
1.1.0 / 2016-12-01
3+
==================
4+
5+
* Added option to show original locations and paths in error
6+
27
1.0.2 / 2016-11-11
38
==================
49
* Fix for data serialization

README.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,11 @@ Creates and returns an error class with the given `name` and `message`, optional
9595
#### Options (default):
9696

9797
- `showPath` *(false)*: Preserve the GraphQLError `path` data.
98-
- `showLocations` *(false)*: Preserve the GraphQLError `locations` data.
98+
- `showLocations` *(false)*: Preserve the GraphQLError `locations` data.
9999

100100
### formatError (error, strict = false): ApolloError|Error|null
101101
If the error is a known ApolloError, returns the serialized form of said error.
102102

103103
**Otherwise**, *if strict is not truthy*, returns the original error passed into formatError.
104104

105105
**Otherwise**, *if strict is truthy*, returns null.
106-
107-
## TODO
108-
109-
- Add better docs

package.json

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

0 commit comments

Comments
 (0)