Skip to content
Developer Preview

MuseGapFillError

A gap the client could not fill.

Class in muse_code

REPORTED to the session’s gap-error callback, never raised across the pump: the fill is driven from a notification, so an escaping exception would land in the consumer’s event pump with nothing to catch it. Typed because the hole it names is a STATE a consumer must branch on — the fold stays not-current until a later recovery, and (after, next) names exactly what is missing.

MuseGapFillError(reason: GapFillFailureReason, after: str, next: str, cause: BaseException | None = None)

Name Type Description
reason Which owner failed.
after The gap’s lower bound cursor.
next The gap’s upper bound cursor.
cause The underlying failure for the pageFailed arm.
Source

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