UNPKG

@dillonkearns/elm-graphql

Version:

<img src="https://cdn.jsdelivr.net/gh/martimatix/logo-graphqelm/logo.svg" alt="dillonearns/elm-graphql logo" width="40%" align="right">

1 lines 1.21 kB
{"id":"F4zS","dependencies":[{"name":"/home/travis/build/dillonkearns/elm-graphql/package.json","includedInParent":true,"mtime":1558740283663},{"name":"/home/travis/build/dillonkearns/elm-graphql/node_modules/graphql-request/package.json","includedInParent":true,"mtime":1533886293000}],"generated":{"js":"\"use strict\";var r=this&&this.__extends||function(){var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var e in t)t.hasOwnProperty(e)&&(r[e]=t[e])};return function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}();Object.defineProperty(exports,\"__esModule\",{value:!0});var t=function(t){function e(r,o){var n=this,s=e.extractMessage(r)+\": \"+JSON.stringify({response:r,request:o});return(n=t.call(this,s)||this).response=r,n.request=o,\"function\"==typeof Error.captureStackTrace&&Error.captureStackTrace(n,e),n}return r(e,t),e.extractMessage=function(r){try{return r.errors[0].message}catch(t){return\"GraphQL Error (Code: \"+r.status+\")\"}},e}(Error);exports.ClientError=t;"},"sourceMaps":null,"error":null,"hash":"31daad3185cac44ae98956bf85760735","cacheData":{"env":{}}}