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. |
||
---|---|---|
.. | ||
models |