Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}).catch((e) => {
if (!didCancel(e)) {
// re-throw the non-cancelation error
throw e;
}
});
}
}).catch((error) => {
// ignore cancelled tasks and throw unrecognized errors
if (!didCancel(error)) {
throw error;
}
});
}
}).catch(e => {
if (!didCancel(e)) {
throw e;
}
});
}
function _ignoreCancellationErrors(e) {
const isTaskCancelationError = didCancel(e);
if (!isTaskCancelationError) {
return Ember.RSVP.reject(e);
}
}
.catch((e) => {
if (!didCancel(e)) {
reject(e);
}
});
});
.catch(e => {
if (!didCancel(e)) {
throw e;
}
});
}