HeadMoved
A class in fastatp.exceptions (source).
HeadMoved(head: object, message: str | None = None)
Based on RepoError.
The repo's head in its fastatp.repo.head.HeadStore is no
longer the one this commit or import was built on: another process got
there first. Nothing became visible. head is the current head, and
the repo has already reloaded to it, so the caller re-reads and retries
on the same object; Repo.apply_writes retries a few times by itself
before letting this out. head is None when the store no longer
holds a head for this DID at all (it was deleted): then there is nothing
to reload, the repo object is stale, and the caller reopens or recreates
the repo instead of retrying.
Attributes
head