0.1.1-canary-573944cea80f766668d3b9d8aa1afd2c50d744a4 • Published 1 year ago

@urql/exchange-throw-on-error v0.1.1-canary-573944cea80f766668d3b9d8aa1afd2c50d744a4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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