failNextUpdateWith property

ChatFailure? failNextUpdateWith
getter/setter pair

When set, the next update call fails with this failure and leaves the store untouched, then clears itself. Lets a test drive the paths that only one specific server refusal reaches — an edit turned down with EditWindowExpiredFailure behaves nothing like an edit that hit a flaky network.

Implementation

ChatFailure? failNextUpdateWith;