refactor(errors): remove stale workspace failures

This commit is contained in:
morluto
2026-09-29 19:23:08 +08:00
parent bb6a58c2a7
commit f570d40f50
13 changed files with 22 additions and 166 deletions
@@ -6,7 +6,6 @@ import {
ArtifactOperationError,
EvidenceFileError,
HopperRemoteError,
WorkspaceStorageError,
UnknownRegistryError,
projectAnalysisError,
type AnalysisError,
@@ -32,20 +31,6 @@ describe("analysis error projection contract", () => {
...(["not-file", "exists", "invalid-json", "io"] as const).map(
(reason) => new EvidenceFileError("read", reason),
),
...(
[
"disabled",
"outside-root",
"not-file",
"too-large",
"invalid-json",
"integrity",
"locked",
"revision-conflict",
"name-conflict",
"io",
] as const
).map((reason) => new WorkspaceStorageError("update", reason)),
...(
[
"not-found",