Skip to content
Developer Preview

GapFillFailureReason

Why one splice-fill did not complete.

Type alias in muse_code

Each arm names a different owner (this SDK’s own composition, the transport, the host), because the repair differs:

  • noConnection: the Session was built fold-only, so it has no seam to page through. Composition, not a runtime fault.
  • pageFailed: a view/page round trip failed, or answered with a frame this session may not fold. cause carries it.
  • pageStalled: the walk made no progress — a page that neither carried events nor ended the view, or a nextCursor that did not advance. The wire is an external boundary and this is the only bound on the walk; an attempt cap would silently truncate a legitimate long fill.

GapFillFailureReason = Literal['noConnection', 'pageFailed', 'pageStalled']

Source

clients/sdk-py/src/muse_code/errors.py:30