MCPcopy
hub / github.com/strongloop/loopback / reportErrorAndNext

Function reportErrorAndNext

lib/persisted-model.js:1734–1739  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

1732 }
1733
1734 function reportErrorAndNext(err) {
1735 if (err) {
1736 ctx.Model.handleChangeError(err, 'after save');
1737 }
1738 next();
1739 }
1740 }
1741
1742 function rectifyOnDelete(ctx, next) {

Callers

nothing calls this directly

Calls 1

nextFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…