63e2f4b134
Deprecate `Change.handleError`, it was used inconsistenly for a subset of possible errors only. Rework all `Change` methods to always report all errors to the caller via the callback. Rework `PersistedModel` to report change-tracking errors via the existing method `PersistedModel.handleChangeError`. This method can be customized on a per-model basis to provide different error handling. The default implementation emits `error` event on the model class, users can attach an event listener that can provide a custom error handler. NOTE: Unhandled `error` events crash the application by default. |
||
---|---|---|
.. | ||
connectors | ||
access-context.js | ||
application.js | ||
browser-express.js | ||
builtin-models.js | ||
express-middleware.js | ||
loopback.js | ||
model.js | ||
persisted-model.js | ||
registry.js | ||
runtime.js | ||
server-app.js |