Skip to content
Developer Preview

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.

  • "alreadyInitialized"
  • "approvalAlreadyResolved"
  • "approvalChoiceInvalid"
  • "approvalNotFound"
  • "approvalRequirementStale"
  • "approvalReviewerUnavailable"
  • "backpressured"
  • "boundaryPruned"
  • "boundaryUnusable"
  • "cancelled"
  • "capabilityRequired"
  • "commandRejected"
  • "experimentalRequired"
  • "forkBoundaryInvalid"
  • "inputTooLarge"
  • "internal"
  • "interrupted"
  • "invalidParams"
  • "invalidRequest"
  • "methodNotFound"
  • "noBoundary"
  • "notFound"
  • "notInitialized"
  • "outputResultTooLarge"
  • "overloaded"
  • "pageEventTooLarge"
  • "parseError"
  • "sessionAmbiguous"
  • "sessionInUse"
  • "sessionNotFound"
  • "sessionNotLoaded"
  • "sessionStreamMismatch"
  • "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.",
"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",
"viewTruncated",
"boundaryPruned",
"boundaryUnusable",
"noBoundary",
"approvalNotFound",
"approvalAlreadyResolved",
"approvalChoiceInvalid",
"approvalRequirementStale",
"approvalReviewerUnavailable",
"userInputNotFound",
"userInputAlreadySettled",
"userInputAnswerInvalid"
],
"type": "string",
"x-msp-openness": "open"
}