Skip to content
Developer Preview

SessionLoadWarning

Experimental

One session/start or session/resume result warning. Experimental. The command succeeded; the warning names what the host did not apply.

  • code — Experimental
  • items — Experimental
  • keys — Experimental
  • message — Experimental
Source

schema/msp/experimental/msp.schema.json#/types/SessionLoadWarning

{
"description": "One `session/start` or `session/resume` result warning. **Experimental.** The command succeeded; the\nwarning names what the host did not apply.",
"properties": {
"code": {
"description": "Machine code. `setting_ignored`: this host composes no\n`config.settingsOverrides`, so the named keys were ignored.\n`selection_unavailable`: the session's selection names items it\ncannot have; the session started without them (`items`).",
"type": "string"
},
"items": {
"description": "For `selection_unavailable`: each selected item with the reason it is\nunavailable.",
"items": {
"$ref": "#/$defs/SessionLoadWarningItem"
},
"type": "array"
},
"keys": {
"description": "The `config.settingsOverrides` keys the warning names, as sent, in\nascending string order.",
"items": {
"type": "string"
},
"type": "array"
},
"message": {
"description": "Human-readable text.",
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"x-msp-descriptor": "session/start.warnings",
"x-msp-stability": "experimental"
}