Skip to content

Instantly share code, notes, and snippets.

@JNaftali
Created December 12, 2020 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JNaftali/6b7ca6be39a1374c346c70cd1883bba5 to your computer and use it in GitHub Desktop.
Save JNaftali/6b7ca6be39a1374c346c70cd1883bba5 to your computer and use it in GitHub Desktop.
{
status: 'rejected',
endpoint: 'getPokemonList',
requestId: 'lxQHTsKJBT0jqIYyDKNpv',
internalQueryArgs: 'pokemon',
originalArgs: '',
startedTimeStamp: 1607794155985,
error: {
name: 'TypeError',
message: 'Expected signal to be an instanceof AbortSignal',
stack: 'TypeError: Expected signal to be an instanceof AbortSignal\n' +
' at new Request (/Users/jmarantz/sandbox/razzle-rtk-example/node_modules/node-fetch/lib/index.js:1222:10)\n' +
' at /Users/jmarantz/sandbox/razzle-rtk-example/node_modules/node-fetch/lib/index.js:1409:19\n' +
' at new Promise (<anonymous>)\n' +
' at fetch (/Users/jmarantz/sandbox/razzle-rtk-example/node_modules/node-fetch/lib/index.js:1407:9)\n' +
' at fetch (/Users/jmarantz/sandbox/razzle-rtk-example/node_modules/isomorphic-fetch/fetch-npm-node.js:8:19)\n' +
' at _callee$ (/Users/jmarantz/sandbox/razzle-rtk-example/node_modules/@rtk-incubator/rtk-query/src/fetchBaseQuery.ts:67:28)\n' +
' at tryCatch (/Users/jmarantz/sandbox/razzle-rtk-example/node_modules/@rtk-incubator/rtk-query/node_modules/regenerator-runtime/runtime.js:63:40)\n' +
' at Generator.invoke [as _invoke] (/Users/jmarantz/sandbox/razzle-rtk-example/node_modules/@rtk-incubator/rtk-query/node_modules/regenerator-runtime/runtime.js:293:22)\n' +
' at Generator.next (/Users/jmarantz/sandbox/razzle-rtk-example/node_modules/@rtk-incubator/rtk-query/node_modules/regenerator-runtime/runtime.js:118:21)\n' +
' at asyncGeneratorStep (/Users/jmarantz/sandbox/razzle-rtk-example/node_modules/@rtk-incubator/rtk-query/dist/rtk-query.cjs.development.js:15:24)'
},
isUninitialized: false,
isLoading: false,
isSuccess: false,
isError: true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment