API reference › @evolu/common › local‑first/Protocol › ApplyProtocolMessageAsClientFailed
Defined in: packages/common/src/local-first/Protocol.ts:1036
Result of applyProtocolMessageAsClient: the protocol logged an
exception thrown by calling the storage's writeMessages (Write) or a
failed range reconciliation (Sync) to the console. An exception while the
returned Task runs, as the built-in storages throw, is a defect that aborts
the Run instead. Expected write rejections return the original
StorageWriteMessagesError through Result. Reconciliation can
fail after messages have been committed; that failure does not roll back the
write.
Extends
Typed<"Failed">
Properties
cause
readonly cause: "Write" | "Sync";
Defined in: packages/common/src/local-first/Protocol.ts:1037
type
readonly type: "Failed";
Defined in: packages/common/src/Type.ts:15402