ErrorKind
A stable error.data.kind category: camelCase, the value clients branch on.
Open: new kinds are added as their methods land, and a new kind is
additive only because this domain is declared open.
Fields and variants
Section titled “Fields and variants”"alreadyInitialized""approvalAlreadyResolved""approvalBrokerUnavailable""approvalChoiceInvalid""approvalNotFound""approvalRequirementStale""approvalResolving""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 branch on.\nOpen: new kinds are added as their methods land, and a new `kind` is\nadditive 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", "approvalBrokerUnavailable", "approvalResolving" ], "type": "string", "x-msp-openness": "open" }, { "const": "daemonDraining", "description": "A drive-taking verb refused because this daemon is draining on the\nbinary-change upgrade path (`-32039`, the command-plane block's free tail — see [`DAEMON_DRAINING_CODE`]); `data.paths` names the\ncanonical socket to retry against and `data.retryable` is `true`\n(ADR 59770 D6/D7). Experimental tier with the socket surface.", "type": "string", "x-msp-descriptor": "ErrorKind.daemonDraining", "x-msp-stability": "experimental" }, { "const": "startupPending", "description": "The daemon's startup credential or catalog step is still running (`-32015`, the cross-cutting block); `data.retryable` is\n`true` and the message names the pending step. Experimental tier with the socket daemon surface.", "type": "string", "x-msp-descriptor": "ErrorKind.startupPending", "x-msp-stability": "experimental" }, { "const": "limitsAboveMax", "description": "A `session/start` choice is wider than the host ceiling on at least\none axis (`-32028`, the session-lifecycle block); `data.axes`\nnames every too-wide axis with its requested and ceiling values and\n`data.retryable` is `false`. Experimental tier with the\nsocket limits surface.", "type": "string", "x-msp-descriptor": "ErrorKind.limitsAboveMax", "x-msp-stability": "experimental" }, { "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" }, { "const": "usageRefreshRateLimited", "description": "A `usage/refresh` inside the per-host window (`-32080`, ADR\n32563 D6); `data.retryAfterMs` is the time left, `data.retryable:\ntrue`. Experimental tier.", "type": "string", "x-msp-descriptor": "ErrorKind.usageRefreshRateLimited", "x-msp-stability": "experimental" }, { "const": "usageRefreshUnavailable", "description": "A `usage/refresh` on a host with no Meta-account login to mint\nwith (`-32081`, ADR 32563 D6). Experimental tier.", "type": "string", "x-msp-descriptor": "ErrorKind.usageRefreshUnavailable", "x-msp-stability": "experimental" }, { "const": "usageRefreshFailed", "description": "A `usage/refresh` whose mint failed (`-32082`, ADR 32563 D6);\n`data.failureKind` names the class. Experimental tier.", "type": "string", "x-msp-descriptor": "ErrorKind.usageRefreshFailed", "x-msp-stability": "experimental" } ], "x-msp-openness": "open"}