Expand description
Error types for lazy DataContext sources.
Each source’s real error variants land with its owning epic (e.g.
UsageError is real under the lsm-y6m epic; GitError lands
with lsm-8jl). Sources still in stub form return the
NotImplemented variant so the plugin runtime can expose a
uniform error surface to scripts.
NotImplemented is temporary. When an epic lands real variants
for a given error enum, the NotImplemented variant is removed in
the same commit. Because each enum is #[non_exhaustive], adding
new variants is non-breaking; removing NotImplemented is a
breaking change for any external code that matches on it. v0.1
treats that window as acceptable — no external consumers exist
yet, and the stub’s whole purpose is to signal “not wired up.”
Re-exports§
pub use super::credentials::CredentialError;pub use super::jsonl::JsonlError;
Enums§
- Claude
Json Error - Errors from reading
~/.claude.json. - GitError
- Errors from
gixrepo inspection.CorruptRepocoversgix::openfailures;WalkFailedcovers HEAD / revwalk failures once the repo is open. Inner causes are stringified at the construction boundary so the enum staysClone + PartialEq + Eq— theArc<Result<...>>memoization boundary requires it. Seedocs/specs/git-segments.md§Change log (v0.1.1) for the full rationale. - Session
Error - Errors from the live sessions directory.
- Settings
Error - Errors from reading
~/.claude/settings.json+ overlays. - Usage
Error - Errors from the OAuth
/api/oauth/usageendpoint plus the cache stack, credential, and JSONL-fallback layers that feed it. Rendered to the user via the segment error table indocs/specs/rate-limit-segments.md.