You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A couple of ideas came out of an IRL conversation with @ritch about this.
Maybe a middleware in the change pipeline could implement a special error-handling signature, and would automatically get called if any part of the change pipeline called next("some error");
OmniBinder could provide a library of out-of-the-box error-handling middlewares, such as one that reverts a model if the change failed to be applied to a protocol.
If something goes wrong at any stage of the change pipeline, there's nothing that gives the developer an opportunity to handle errors.
For example:
SyncResource should provide a flexible means of reacting to things going wrong.
The text was updated successfully, but these errors were encountered: