TurnError
The settled turn-failure object: {kind, message, retryable}.
Fields and variants
Section titled “Fields and variants”kindmessageretryable
Source
schema/msp/experimental/msp.schema.json#/types/TurnError
{ "description": "The settled turn-failure object: `{kind, message,\nretryable}`.", "properties": { "kind": { "$ref": "#/$defs/TurnErrorKind", "description": "The failure class (open camelCase enum grounded in the runtime's\nterminal failure classification)." }, "message": { "description": "Human-readable failure text.", "type": "string" }, "retryable": { "description": "The server's judgment that resubmitting the same input may succeed.", "type": "boolean" } }, "required": [ "kind", "message", "retryable" ], "type": "object"}