0.1.0-canary-7d9302bb9be52318d5f5bb7e9586434ce1ca06f3 • Published 2 years ago

@urql/exchange-throw-on-error v0.1.0-canary-7d9302bb9be52318d5f5bb7e9586434ce1ca06f3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@urql/exchange-throw-on-error (Exchange factory)

@urql/exchange-throw-on-error is an exchange for the urql GraphQL client that makes field access to data throw an error if the field errored.

It is built on top of the graphql-toe package.

Quick Start Guide

First install @urql/exchange-throw-on-error alongside urql:

yarn add @urql/exchange-throw-on-error
# or
npm install --save @urql/exchange-throw-on-error