MCPcopy
hub / github.com/vercel/async-retry / bail

Function bail

lib/index.js:21–23  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

19 // would be futile (e.g.: auth errors)
20
21 function bail(err) {
22 reject(err || new Error('Aborted'));
23 }
24
25 function onError(err, num) {
26 if (err.bail) {

Callers 2

onErrorFunction · 0.85
index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…