Skip to content

Commit

Permalink
Export isApolloError (#4223)
Browse files Browse the repository at this point in the history
* Export isApolloError

* Changelog update
  • Loading branch information
FredyC authored and hwillson committed Jan 2, 2019
1 parent b1ca202 commit b193f2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
- The `onClearStore` function can now be used to register callbacks that should
be triggered when calling `clearStore`. <br/>
[@joe-re](https://github.com/joe-re) in [#4082](https://github.com/apollographql/apollo-client/pull/4082)
- Make `isApolloError` available for external use. <br/>
[@FredyC](https://github.com/FredyC) in [#4223](https://github.com/apollographql/apollo-client/pull/4223)
- Documentation updates. <br/>
[@lifedup](https://github.com/lifedup) in [#3931](https://github.com/apollographql/apollo-client/pull/3931) <br />
[@Dem0n3D](https://github.com/Dem0n3D) in [#4008](https://github.com/apollographql/apollo-client/pull/4008) <br />
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-client/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export {
export { NetworkStatus } from './core/networkStatus';
export * from './core/types';

export { ApolloError } from './errors/ApolloError';
export { isApolloError, ApolloError } from './errors/ApolloError';

import ApolloClient, { ApolloClientOptions } from './ApolloClient';

Expand Down

0 comments on commit b193f2a

Please sign in to comment.