0.1.0-canary-ca0adea8d24747f4561e699485edc2ae884c4509 • Published 2 years ago

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

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