ErrorKind
A stable error.data.kind category: camelCase, the value clients
branch on. Open: lanes add kinds additively as their methods land, and the spec’s edge-case rule makes a
new kind additive only because this domain is declared open.
Fields and variants
Section titled “Fields and variants”"alreadyInitialized""approvalAlreadyResolved""approvalChoiceInvalid""approvalNotFound""approvalRequirementStale""approvalReviewerUnavailable""backpressured""boundaryPruned""boundaryUnusable""cancelled""capabilityRequired""commandRejected""computerUseUnavailable""experimentalRequired""forkBoundaryInvalid""inputTooLarge""internal""interrupted""invalidParams""invalidRequest""marketplaceAlreadyExists""marketplaceNotFound""methodNotFound""noBoundary""notFound""notInitialized""outputResultTooLarge""outputUnavailable""overloaded""pageEventTooLarge""parseError""pluginMutationsDisabled""pluginNotFound""sessionAmbiguous""sessionInUse""sessionNotFound""sessionNotLoaded""sessionStreamMismatch""skillNotFound""uploadNotFound""userInputAlreadySettled""userInputAnswerInvalid""userInputNotFound""viewTruncated"
Source
schema/msp/experimental/msp.schema.json#/types/ErrorKind
{ "description": "A stable `error.data.kind` category: camelCase, the value clients\nbranch on. Open: lanes add kinds additively as their methods land, and the spec's edge-case rule makes a\nnew `kind` additive only because this domain is declared open.", "oneOf": [ { "enum": [ "parseError", "invalidRequest", "notInitialized", "alreadyInitialized", "methodNotFound", "invalidParams", "experimentalRequired", "internal", "pageEventTooLarge", "outputResultTooLarge", "overloaded", "inputTooLarge", "capabilityRequired", "notFound", "interrupted", "cancelled", "sessionNotFound", "sessionInUse", "sessionAmbiguous", "forkBoundaryInvalid", "sessionNotLoaded", "sessionStreamMismatch", "commandRejected", "backpressured", "skillNotFound", "computerUseUnavailable", "marketplaceNotFound", "pluginNotFound", "marketplaceAlreadyExists", "pluginMutationsDisabled", "uploadNotFound", "viewTruncated", "outputUnavailable", "boundaryPruned", "boundaryUnusable", "noBoundary", "approvalNotFound", "approvalAlreadyResolved", "approvalChoiceInvalid", "approvalRequirementStale", "approvalReviewerUnavailable", "userInputNotFound", "userInputAlreadySettled", "userInputAnswerInvalid" ], "type": "string", "x-msp-openness": "open" }, { "const": "workspaceNotTrusted", "description": "A worktree action names an untrusted repository (`-32029`, the session-lifecycle block); `data.path` names the subject repo and\n`data.retryable` is `false`.\nExperimental tier with the worktree surface (D7).", "type": "string", "x-msp-descriptor": "ErrorKind.workspaceNotTrusted", "x-msp-stability": "experimental" }, { "const": "missingAnchor", "description": "A raw-log cursor position names no position of the requested stream (`-32060`); `data.stream` and `data.after` name the rejected\nanchor. Experimental tier.", "type": "string", "x-msp-descriptor": "ErrorKind.missingAnchor", "x-msp-stability": "experimental" }, { "const": "prunedPrefix", "description": "A raw-log anchor (or the origin) falls in a retention-pruned prefix (`-32061`); `data.nextAvailable` carries the earliest readable\nposition. Experimental tier.", "type": "string", "x-msp-descriptor": "ErrorKind.prunedPrefix", "x-msp-stability": "experimental" }, { "const": "wrongStream", "description": "A raw-log anchor id exists in the session but belongs to a different\nstream (`-32062`). Experimental tier.", "type": "string", "x-msp-descriptor": "ErrorKind.wrongStream", "x-msp-stability": "experimental" }, { "const": "unknownStream", "description": "No such stream in the session (`-32063`). Experimental tier.", "type": "string", "x-msp-descriptor": "ErrorKind.unknownStream", "x-msp-stability": "experimental" }, { "const": "unknownProjection", "description": "No such registered projection (`-32064`). Experimental tier.", "type": "string", "x-msp-descriptor": "ErrorKind.unknownProjection", "x-msp-stability": "experimental" }, { "const": "admissionNotFound", "description": "Admission id is unknown;\n`data.sessionId` and `data.admissionId` name the rejected pair.\nExperimental tier.", "type": "string", "x-msp-descriptor": "ErrorKind.admissionNotFound", "x-msp-stability": "experimental" }, { "const": "admissionAlreadyResolved", "description": "Decide after the durable terminal; `data.admissionId` plus the winning\n`data.admissionResolution`, `data.retryable: false`. Experimental tier.", "type": "string", "x-msp-descriptor": "ErrorKind.admissionAlreadyResolved", "x-msp-stability": "experimental" }, { "const": "admissionChoiceInvalid", "description": "Choice is not among the current `availableChoices`; `data.admissionId` and\n`data.choiceId` name the rejected pair. Experimental tier.", "type": "string", "x-msp-descriptor": "ErrorKind.admissionChoiceInvalid", "x-msp-stability": "experimental" } ], "x-msp-openness": "open"}