Skip to content

MirrorErrorSystemMessage

Base classes

Name Children Inherits
BaseSystemMessage
clawd_code_sdk.models.system_messages
Base class for all system messages.

⋔ Inheritance diagram

graph TD
  4045863690["system_messages.MirrorErrorSystemMessage"]
  3228074852["system_messages.BaseSystemMessage"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3228074852 --> 4045863690
  3879467795 --> 3228074852
  2751680898 --> 3879467795

🛈 DocStrings

Bases: BaseSystemMessage

Emitted when SessionStore.append() rejects or times out for a transcript-mirror batch.

The batch is dropped (at-most-once delivery); this surfaces the failure so consumers are not silent on data loss.

Source code in src/clawd_code_sdk/models/system_messages.py
class MirrorErrorSystemMessage(BaseSystemMessage):
    """Emitted when SessionStore.append() rejects or times out for a transcript-mirror batch.

    The batch is dropped (at-most-once delivery);
    this surfaces the failure so consumers are not silent on data loss.
    """

    subtype: Literal["mirror_error"] = "mirror_error"
    error: str
    key: SessionKey

:fa-brands-github: Show source on GitHub