MCPcopy
hub / github.com/Kong/insomnia / onRejected

Function onRejected

packages/insomnia/bin/yarn-standalone.js:68317–68325  ·  view source on GitHub ↗

* @param {Error} err * @return {Promise} * @api private

(err)

Source from the content-addressed store, hash-verified

68315 */
68316
68317 function onRejected(err) {
68318 var ret;
68319 try {
68320 ret = gen.throw(err);
68321 } catch (e) {
68322 return reject(e);
68323 }
68324 next(ret);
68325 }
68326
68327 /**
68328 * Get the next value in the generator,

Callers 1

nextFunction · 0.85

Calls 2

rejectFunction · 0.85
nextFunction · 0.70

Tested by

no test coverage detected